home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / fusion / mshardfile1 / SimpleText / SimpleText.rsrc / CODE_6_Text.txt < prev    next >
Text File  |  1995-10-13  |  268KB  |  4,757 lines

  1. # near model CODE resource
  2. # jump table entries: 400-404 (5 of them)
  3. fn00000000:
  4. 00000000  4E56 FFF0                link       A6, -0x0010
  5. 00000004  48E7 0308                movem.l    -[A7], D6,D7,A4
  6. 00000008  286E 0008                movea.l    A4, [A6 + 0x8]
  7. 0000000C  598F                     subq.l     A7, 4
  8. 0000000E  4878 7FFF                push.l     0x7FFF
  9. 00000012  7000                     moveq.l    D0, 0x00
  10. 00000014  2F00                     move.l     -[A7], D0
  11. 00000016  2F0C                     move.l     -[A7], A4
  12. 00000018  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  13. 0000001C  A83D                     syscall    TEDispatch
  14. 0000001E  2C1F                     move.l     D6, [A7]+
  15. 00000020  2054                     movea.l    A0, [A4]
  16. 00000022  3E28 003C                move.w     D7, [A0 + 0x3C]
  17. 00000026  6734                     beq        +0x36 /* 0000005C */
  18. 00000028  48C7                     ext.l      D7
  19. 0000002A  2007                     move.l     D0, D7
  20. 0000002C  5380                     subq.l     D0, 1
  21. 0000002E  2054                     movea.l    A0, [A4]
  22. 00000030  2068 003E                movea.l    A0, [A0 + 0x3E]
  23. 00000034  2050                     movea.l    A0, [A0]
  24. 00000036  720D                     moveq.l    D1, 0x0D
  25. 00000038  B230 0800                cmp.b      D1, [A0 + D0]
  26. 0000003C  661E                     bne        +0x20 /* 0000005C */
  27. 0000003E  3F07                     move.w     -[A7], D7
  28. 00000040  486E FFF0                pea.l      [A6 - 0x10]
  29. 00000044  486E FFFC                pea.l      [A6 - 0x4]
  30. 00000048  486E FFFE                pea.l      [A6 - 0x2]
  31. 0000004C  2F0C                     move.l     -[A7], A4
  32. 0000004E  3F3C 0003                move.w     -[A7], 0x3
  33. 00000052  A83D                     syscall    TEDispatch
  34. 00000054  302E FFFC                move.w     D0, [A6 - 0x4]
  35. 00000058  48C0                     ext.l      D0
  36. 0000005A  DC80                     add.l      D6, D0
  37. label0000005C:
  38. 0000005C  2006                     move.l     D0, D6
  39. 0000005E  4CEE 10C0 FFE4           movem.l    D6,D7,A4, [A6 - 0x1C]
  40. 00000064  4E5E                     unlink     A6
  41. 00000066  4E75                     rts
  42. fn00000068:
  43. 00000068  4E56 0000                link       A6, 0
  44. 0000006C  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  45. 00000070  266E 0008                movea.l    A3, [A6 + 0x8]
  46. 00000074  206B 0170                movea.l    A0, [A3 + 0x170]
  47. 00000078  2850                     movea.l    A4, [A0]
  48. 0000007A  558F                     subq.l     A7, 2
  49. 0000007C  2F2B 015A                move.l     -[A7], [A3 + 0x15A]
  50. 00000080  A960                     syscall    GetControlValue/GetCtlValue
  51. 00000082  381F                     move.w     D4, [A7]+
  52. 00000084  3E2C 0008                move.w     D7, [A4 + 0x8]
  53. 00000088  9E54                     sub.w      D7, [A4]
  54. 0000008A  2F2B 015A                move.l     -[A7], [A3 + 0x15A]
  55. 0000008E  3F07                     move.w     -[A7], D7
  56. 00000090  A963                     syscall    SetControlValue/SetCtlValue
  57. 00000092  206B 0170                movea.l    A0, [A3 + 0x170]
  58. 00000096  2850                     movea.l    A4, [A0]
  59. 00000098  4A2E 000F                tst.b      [A6 + 0xF]
  60. 0000009C  672A                     beq        +0x2C /* 000000C8 */
  61. 0000009E  302C 000A                move.w     D0, [A4 + 0xA]
  62. 000000A2  48C0                     ext.l      D0
  63. 000000A4  322C 0002                move.w     D1, [A4 + 0x2]
  64. 000000A8  48C1                     ext.l      D1
  65. 000000AA  2A00                     move.l     D5, D0
  66. 000000AC  9A81                     sub.l      D5, D1
  67. 000000AE  48C7                     ext.l      D7
  68. 000000B0  48C4                     ext.l      D4
  69. 000000B2  2C07                     move.l     D6, D7
  70. 000000B4  9C84                     sub.l      D6, D4
  71. 000000B6  4A45                     tst.w      D5
  72. 000000B8  6604                     bne        +0x6 /* 000000BE */
  73. 000000BA  4A46                     tst.w      D6
  74. 000000BC  670A                     beq        +0xC /* 000000C8 */
  75. label000000BE:
  76. 000000BE  3F05                     move.w     -[A7], D5
  77. 000000C0  3F06                     move.w     -[A7], D6
  78. 000000C2  2F2B 0170                move.l     -[A7], [A3 + 0x170]
  79. 000000C6  A9DD                     syscall    TEScroll
  80. label000000C8:
  81. 000000C8  4CEE 18F0 FFE8           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x18]
  82. 000000CE  4E5E                     unlink     A6
  83. 000000D0  4E75                     rts
  84. fn000000D2:
  85. 000000D2  4E56 FFF0                link       A6, -0x0010
  86. 000000D6  48E7 0118                movem.l    -[A7], D7,A3,A4
  87. 000000DA  286E 0008                movea.l    A4, [A6 + 0x8]
  88. 000000DE  206C 0170                movea.l    A0, [A4 + 0x170]
  89. 000000E2  2650                     movea.l    A3, [A0]
  90. 000000E4  204B                     movea.l    A0, A3
  91. 000000E6  43EE FFF8                lea.l      A1, [A6 - 0x8]
  92. 000000EA  22D8                     move.l     [A1]+, [A0]+
  93. 000000EC  22D8                     move.l     [A1]+, [A0]+
  94. 000000EE  41EE FFF0                lea.l      A0, [A6 - 0x10]
  95. 000000F2  224B                     movea.l    A1, A3
  96. 000000F4  5089                     addq.l     A1, 8
  97. 000000F6  20D9                     move.l     [A0]+, [A1]+
  98. 000000F8  20D9                     move.l     [A0]+, [A1]+
  99. 000000FA  3E2E FFF8                move.w     D7, [A6 - 0x8]
  100. 000000FE  9E6E FFF0                sub.w      D7, [A6 - 0x10]
  101. 00000102  41EE FFF0                lea.l      A0, [A6 - 0x10]
  102. 00000106  43EC 014E                lea.l      A1, [A4 + 0x14E]
  103. 0000010A  20D9                     move.l     [A0]+, [A1]+
  104. 0000010C  20D9                     move.l     [A0]+, [A1]+
  105. 0000010E  486E FFF0                pea.l      [A6 - 0x10]
  106. 00000112  7004                     moveq.l    D0, 0x04
  107. 00000114  3F00                     move.w     -[A7], D0
  108. 00000116  3F00                     move.w     -[A7], D0
  109. 00000118  A8A9                     syscall    InsetRect
  110. 0000011A  41EE FFF8                lea.l      A0, [A6 - 0x8]
  111. 0000011E  43EE FFF0                lea.l      A1, [A6 - 0x10]
  112. 00000122  20D9                     move.l     [A0]+, [A1]+
  113. 00000124  20D9                     move.l     [A0]+, [A1]+
  114. 00000126  486E FFF8                pea.l      [A6 - 0x8]
  115. 0000012A  7000                     moveq.l    D0, 0x00
  116. 0000012C  3F00                     move.w     -[A7], D0
  117. 0000012E  3F07                     move.w     -[A7], D7
  118. 00000130  A8A8                     syscall    OffsetRect
  119. 00000132  206C 0170                movea.l    A0, [A4 + 0x170]
  120. 00000136  2650                     movea.l    A3, [A0]
  121. 00000138  41EE FFF0                lea.l      A0, [A6 - 0x10]
  122. 0000013C  43EB 0008                lea.l      A1, [A3 + 0x8]
  123. 00000140  22D8                     move.l     [A1]+, [A0]+
  124. 00000142  22D8                     move.l     [A1]+, [A0]+
  125. 00000144  41EE FFF8                lea.l      A0, [A6 - 0x8]
  126. 00000148  224B                     movea.l    A1, A3
  127. 0000014A  22D8                     move.l     [A1]+, [A0]+
  128. 0000014C  22D8                     move.l     [A1]+, [A0]+
  129. 0000014E  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  130. 00000152  A9D0                     syscall    TECalText
  131. 00000154  4A2E 000F                tst.b      [A6 + 0xF]
  132. 00000158  670A                     beq        +0xC /* 00000164 */
  133. 0000015A  206D FEC6                movea.l    A0, [A5 - 0x13A]
  134. 0000015E  4868 0010                pea.l      [A0 + 0x10]
  135. 00000162  A928                     syscall    InvalRect
  136. label00000164:
  137. 00000164  4CEE 1880 FFE4           movem.l    D7,A3,A4, [A6 - 0x1C]
  138. 0000016A  4E5E                     unlink     A6
  139. 0000016C  4E75                     rts
  140. export_50:
  141. 0000016E  4E56 0000                link       A6, 0
  142. 00000172  598F                     subq.l     A7, 4
  143. 00000174  A924                     syscall    FrontWindow
  144. 00000176  205F                     movea.l    A0, [A7]+
  145. 00000178  2D68 016C 0008           move.l     [A6 + 0x8], [A0 + 0x16C]
  146. 0000017E  4E5E                     unlink     A6
  147. 00000180  4E75                     rts
  148. export_51:
  149. 00000182  4E56 0000                link       A6, 0
  150. 00000186  48E7 0018                movem.l    -[A7], A3,A4
  151. 0000018A  598F                     subq.l     A7, 4
  152. 0000018C  A924                     syscall    FrontWindow
  153. 0000018E  285F                     movea.l    A4, [A7]+
  154. 00000190  598F                     subq.l     A7, 4
  155. 00000192  A8D8                     syscall    NewRgn
  156. 00000194  2657                     movea.l    A3, [A7]
  157. 00000196  A87A                     syscall    GetClip
  158. 00000198  486C 0010                pea.l      [A4 + 0x10]
  159. 0000019C  A87B                     syscall    ClipRect
  160. 0000019E  197C 0001 016A           move.b     [A4 + 0x16A], 0x1
  161. 000001A4  7000                     moveq.l    D0, 0x00
  162. 000001A6  2F00                     move.l     -[A7], D0
  163. 000001A8  2F00                     move.l     -[A7], D0
  164. 000001AA  2F00                     move.l     -[A7], D0
  165. 000001AC  2F0C                     move.l     -[A7], A4
  166. 000001AE  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  167. 000001B2  422C 016A                clr.b      [A4 + 0x16A]
  168. 000001B6  2F0B                     move.l     -[A7], A3
  169. 000001B8  A879                     syscall    SetClip
  170. 000001BA  2F0B                     move.l     -[A7], A3
  171. 000001BC  A8D9                     syscall    DisposRgn/DisposeRgn
  172. 000001BE  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  173. 000001C4  4E5E                     unlink     A6
  174. 000001C6  4E75                     rts
  175. export_52:
  176. 000001C8  4E56 0000                link       A6, 0
  177. 000001CC  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  178. 000001D0  3A2E 000A                move.w     D5, [A6 + 0xA]
  179. 000001D4  3C2E 0008                move.w     D6, [A6 + 0x8]
  180. 000001D8  266E 000C                movea.l    A3, [A6 + 0xC]
  181. 000001DC  4247                     clr.w      D7
  182. 000001DE  284B                     movea.l    A4, A3
  183. 000001E0  D8C6                     add.w      A4, D6
  184. 000001E2  6042                     bra        +0x44 /* 00000226 */
  185. label000001E4:
  186. 000001E4  7000                     moveq.l    D0, 0x00
  187. 000001E6  1014                     move.b     D0, [A4]
  188. 000001E8  0C40 00CA                cmpi.w     D0, 0xCA
  189. 000001EC  6634                     bne        +0x36 /* 00000222 */
  190. 000001EE  200C                     move.l     D0, A4
  191. 000001F0  5380                     subq.l     D0, 1
  192. 000001F2  2040                     movea.l    A0, D0
  193. 000001F4  7000                     moveq.l    D0, 0x00
  194. 000001F6  1010                     move.b     D0, [A0]
  195. 000001F8  0C40 000D                cmpi.w     D0, 0xD /* '\r' */
  196. 000001FC  670C                     beq        +0xE /* 0000020A */
  197. 000001FE  206E 0010                movea.l    A0, [A6 + 0x10]
  198. 00000202  2068 003E                movea.l    A0, [A0 + 0x3E]
  199. 00000206  B7D0                     cmpa.l     A3, [A0]
  200. 00000208  6618                     bne        +0x1A /* 00000222 */
  201. label0000020A:
  202. 0000020A  2F0B                     move.l     -[A7], A3
  203. 0000020C  3F06                     move.w     -[A7], D6
  204. 0000020E  3F07                     move.w     -[A7], D7
  205. 00000210  A885                     syscall    DrawText
  206. 00000212  7020                     moveq.l    D0, 0x20
  207. 00000214  3F00                     move.w     -[A7], D0
  208. 00000216  A883                     syscall    DrawChar
  209. 00000218  3007                     move.w     D0, D7
  210. 0000021A  5240                     addq.w     D0, 1
  211. 0000021C  DC40                     add.w      D6, D0
  212. 0000021E  4247                     clr.w      D7
  213. 00000220  6002                     bra        +0x4 /* 00000224 */
  214. label00000222:
  215. 00000222  5247                     addq.w     D7, 1
  216. label00000224:
  217. 00000224  524C                     addq.w     A4, 1
  218. label00000226:
  219. 00000226  3005                     move.w     D0, D5
  220. 00000228  5345                     subq.w     D5, 1
  221. 0000022A  4A40                     tst.w      D0
  222. 0000022C  66B6                     bne        -0x48 /* 000001E4 */
  223. 0000022E  2F0B                     move.l     -[A7], A3
  224. 00000230  3F06                     move.w     -[A7], D6
  225. 00000232  3F07                     move.w     -[A7], D7
  226. 00000234  A885                     syscall    DrawText
  227. 00000236  4CEE 18E0 FFEC           movem.l    D5,D6,D7,A3,A4, [A6 - 0x14]
  228. 0000023C  4E5E                     unlink     A6
  229. 0000023E  205F                     movea.l    A0, [A7]+
  230. 00000240  4FEF 0010                lea.l      A7, [A7 + 0x10]
  231. 00000244  4ED0                     jmp        [A0]
  232. fn00000246:
  233. 00000246  4E56 0000                link       A6, 0
  234. 0000024A  4AAD F274                tst.l      [A5 - 0xD8C]
  235. 0000024E  672C                     beq        +0x2E /* 0000027C */
  236. 00000250  558F                     subq.l     A7, 2
  237. 00000252  2F2D F274                move.l     -[A7], [A5 - 0xD8C]
  238. 00000256  203C 022C 000C           move.l     D0, 0x22C000C
  239. 0000025C  A800                     syscall    SoundDispatch
  240. 0000025E  4A2E 000B                tst.b      [A6 + 0xB]
  241. 00000262  544F                     addq.w     A7, 2
  242. 00000264  6716                     beq        +0x18 /* 0000027C */
  243. 00000266  558F                     subq.l     A7, 2
  244. 00000268  2F2D F274                move.l     -[A7], [A5 - 0xD8C]
  245. 0000026C  203C 021C 000C           move.l     D0, 0x21C000C
  246. 00000272  A800                     syscall    SoundDispatch
  247. 00000274  7000                     moveq.l    D0, 0x00
  248. 00000276  2B40 F274                move.l     [A5 - 0xD8C], D0
  249. 0000027A  544F                     addq.w     A7, 2
  250. label0000027C:
  251. 0000027C  4AAD F268                tst.l      [A5 - 0xD98]
  252. 00000280  670C                     beq        +0xE /* 0000028E */
  253. 00000282  206D F268                movea.l    A0, [A5 - 0xD98]
  254. 00000286  A01F                     syscall    DisposPtr/DisposePtr
  255. 00000288  7000                     moveq.l    D0, 0x00
  256. 0000028A  2B40 F268                move.l     [A5 - 0xD98], D0
  257. label0000028E:
  258. 0000028E  4E5E                     unlink     A6
  259. 00000290  4E75                     rts
  260. fn00000292:
  261. 00000292  4E56 0000                link       A6, 0
  262. 00000296  48E7 0138                movem.l    -[A7], D7,A2,A3,A4
  263. 0000029A  246E 0008                movea.l    A2, [A6 + 0x8]
  264. 0000029E  266E 0010                movea.l    A3, [A6 + 0x10]
  265. 000002A2  286E 000C                movea.l    A4, [A6 + 0xC]
  266. 000002A6  4A54                     tst.w      [A4]
  267. 000002A8  661A                     bne        +0x1C /* 000002C4 */
  268. 000002AA  3014                     move.w     D0, [A4]
  269. 000002AC  48C0                     ext.l      D0
  270. 000002AE  D092                     add.l      D0, [A2]
  271. 000002B0  2040                     movea.l    A0, D0
  272. 000002B2  7000                     moveq.l    D0, 0x00
  273. 000002B4  1010                     move.b     D0, [A0]
  274. 000002B6  0C40 00CA                cmpi.w     D0, 0xCA
  275. 000002BA  6608                     bne        +0xA /* 000002C4 */
  276. 000002BC  36BC 0001                move.w     [A3], 0x1
  277. 000002C0  7001                     moveq.l    D0, 0x01
  278. 000002C2  607A                     bra        +0x7C /* 0000033E */
  279. label000002C4:
  280. 000002C4  7000                     moveq.l    D0, 0x00
  281. 000002C6  102D F246                move.b     D0, [A5 - 0xDBA]
  282. 000002CA  4A80                     tst.l      D0
  283. 000002CC  6730                     beq        +0x32 /* 000002FE */
  284. 000002CE  598F                     subq.l     A7, 4
  285. 000002D0  2F0A                     move.l     -[A7], A2
  286. 000002D2  3014                     move.w     D0, [A4]
  287. 000002D4  48C0                     ext.l      D0
  288. 000002D6  2F00                     move.l     -[A7], D0
  289. 000002D8  486D F247                pea.l      [A5 - 0xDB9]
  290. 000002DC  7000                     moveq.l    D0, 0x00
  291. 000002DE  102D F246                move.b     D0, [A5 - 0xDBA]
  292. 000002E2  2F00                     move.l     -[A7], D0
  293. 000002E4  7000                     moveq.l    D0, 0x00
  294. 000002E6  2F00                     move.l     -[A7], D0
  295. 000002E8  2F00                     move.l     -[A7], D0
  296. 000002EA  A9E0                     syscall    Munger
  297. 000002EC  2E1F                     move.l     D7, [A7]+
  298. 000002EE  6D0E                     blt        +0x10 /* 000002FE */
  299. 000002F0  3887                     move.w     [A4], D7
  300. 000002F2  7000                     moveq.l    D0, 0x00
  301. 000002F4  102D F246                move.b     D0, [A5 - 0xDBA]
  302. 000002F8  3680                     move.w     [A3], D0
  303. 000002FA  7001                     moveq.l    D0, 0x01
  304. 000002FC  6040                     bra        +0x42 /* 0000033E */
  305. label000002FE:
  306. 000002FE  7000                     moveq.l    D0, 0x00
  307. 00000300  102D F226                move.b     D0, [A5 - 0xDDA]
  308. 00000304  4A80                     tst.l      D0
  309. 00000306  6730                     beq        +0x32 /* 00000338 */
  310. 00000308  598F                     subq.l     A7, 4
  311. 0000030A  2F0A                     move.l     -[A7], A2
  312. 0000030C  3014                     move.w     D0, [A4]
  313. 0000030E  48C0                     ext.l      D0
  314. 00000310  2F00                     move.l     -[A7], D0
  315. 00000312  486D F227                pea.l      [A5 - 0xDD9]
  316. 00000316  7000                     moveq.l    D0, 0x00
  317. 00000318  102D F226                move.b     D0, [A5 - 0xDDA]
  318. 0000031C  2F00                     move.l     -[A7], D0
  319. 0000031E  7000                     moveq.l    D0, 0x00
  320. 00000320  2F00                     move.l     -[A7], D0
  321. 00000322  2F00                     move.l     -[A7], D0
  322. 00000324  A9E0                     syscall    Munger
  323. 00000326  2E1F                     move.l     D7, [A7]+
  324. 00000328  6D0E                     blt        +0x10 /* 00000338 */
  325. 0000032A  3887                     move.w     [A4], D7
  326. 0000032C  7000                     moveq.l    D0, 0x00
  327. 0000032E  102D F226                move.b     D0, [A5 - 0xDDA]
  328. 00000332  3680                     move.w     [A3], D0
  329. 00000334  7001                     moveq.l    D0, 0x01
  330. 00000336  6006                     bra        +0x8 /* 0000033E */
  331. label00000338:
  332. 00000338  36BC 0001                move.w     [A3], 0x1
  333. 0000033C  7000                     moveq.l    D0, 0x00
  334. label0000033E:
  335. 0000033E  4CEE 1C80 FFF0           movem.l    D7,A2,A3,A4, [A6 - 0x10]
  336. 00000344  4E5E                     unlink     A6
  337. 00000346  4E75                     rts
  338. fn00000348:
  339. 00000348  4E56 FFE0                link       A6, -0x0020
  340. 0000034C  48E7 0738                movem.l    -[A7], D5,D6,D7,A2,A3,A4
  341. 00000350  246E 0008                movea.l    A2, [A6 + 0x8]
  342. 00000354  266E 000C                movea.l    A3, [A6 + 0xC]
  343. 00000358  558F                     subq.l     A7, 2
  344. 0000035A  A994                     syscall    CurResFile
  345. 0000035C  3A1F                     move.w     D5, [A7]+
  346. 0000035E  3F2A 00EC                move.w     -[A7], [A2 + 0xEC]
  347. 00000362  A998                     syscall    UseResFile
  348. 00000364  558F                     subq.l     A7, 2
  349. 00000366  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  350. 0000036C  A80D                     syscall    Count1Resources
  351. 0000036E  3C1F                     move.w     D6, [A7]+
  352. 00000370  4247                     clr.w      D7
  353. 00000372  4A46                     tst.w      D6
  354. 00000374  6700 012C                beq        +0x12E /* 000004A2 */
  355. 00000378  598F                     subq.l     A7, 4
  356. 0000037A  A8D8                     syscall    NewRgn
  357. 0000037C  2D57 FFE8                move.l     [A6 - 0x18], [A7]
  358. 00000380  A87A                     syscall    GetClip
  359. 00000382  2053                     movea.l    A0, [A3]
  360. 00000384  5088                     addq.l     A0, 8
  361. 00000386  43EE FFEC                lea.l      A1, [A6 - 0x14]
  362. 0000038A  22D8                     move.l     [A1]+, [A0]+
  363. 0000038C  22D8                     move.l     [A1]+, [A0]+
  364. 0000038E  41EE FFF4                lea.l      A0, [A6 - 0xC]
  365. 00000392  43EE FFEC                lea.l      A1, [A6 - 0x14]
  366. 00000396  20D9                     move.l     [A0]+, [A1]+
  367. 00000398  20D9                     move.l     [A0]+, [A1]+
  368. 0000039A  486E FFEC                pea.l      [A6 - 0x14]
  369. 0000039E  A87B                     syscall    ClipRect
  370. 000003A0  2053                     movea.l    A0, [A3]
  371. 000003A2  2D68 003E FFFC           move.l     [A6 - 0x4], [A0 + 0x3E]
  372. 000003A8  2053                     movea.l    A0, [A3]
  373. 000003AA  3028 003C                move.w     D0, [A0 + 0x3C]
  374. 000003AE  48C0                     ext.l      D0
  375. 000003B0  2C00                     move.l     D6, D0
  376. 000003B2  426E FFE4                clr.w      [A6 - 0x1C]
  377. 000003B6  6000 00D2                bra        +0xD4 /* 0000048A */
  378. label000003BA:
  379. 000003BA  486E FFE6                pea.l      [A6 - 0x1A]
  380. 000003BE  486E FFE4                pea.l      [A6 - 0x1C]
  381. 000003C2  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  382. 000003C6  4EBA FECA                jsr        [PC - 0x136 /* 00000292 */]
  383. 000003CA  4A00                     tst.b      D0
  384. 000003CC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  385. 000003D0  6700 00C4                beq        +0xC6 /* 00000496 */
  386. 000003D4  598F                     subq.l     A7, 4
  387. 000003D6  3F2E FFE4                move.w     -[A7], [A6 - 0x1C]
  388. 000003DA  2F0B                     move.l     -[A7], A3
  389. 000003DC  3F3C 0008                move.w     -[A7], 0x8
  390. 000003E0  A83D                     syscall    TEDispatch
  391. 000003E2  2D5F FFE0                move.l     [A6 - 0x20], [A7]+
  392. 000003E6  598F                     subq.l     A7, 4
  393. 000003E8  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  394. 000003EE  3007                     move.w     D0, D7
  395. 000003F0  D07C 03E8                add.w      D0, 0x3E8
  396. 000003F4  3F00                     move.w     -[A7], D0
  397. 000003F6  A81F                     syscall    Get1Resource
  398. 000003F8  285F                     movea.l    A4, [A7]+
  399. 000003FA  200C                     move.l     D0, A4
  400. 000003FC  6700 0082                beq        +0x84 /* 00000480 */
  401. 00000400  2F0C                     move.l     -[A7], A4
  402. 00000402  A9A2                     syscall    LoadResource
  403. 00000404  204C                     movea.l    A0, A4
  404. 00000406  A04A                     syscall    HNoPurge
  405. 00000408  2054                     movea.l    A0, [A4]
  406. 0000040A  43EE FFEC                lea.l      A1, [A6 - 0x14]
  407. 0000040E  5488                     addq.l     A0, 2
  408. 00000410  22D8                     move.l     [A1]+, [A0]+
  409. 00000412  22D8                     move.l     [A1]+, [A0]+
  410. 00000414  486E FFEC                pea.l      [A6 - 0x14]
  411. 00000418  302E FFEE                move.w     D0, [A6 - 0x12]
  412. 0000041C  48C0                     ext.l      D0
  413. 0000041E  4480                     neg.l      D0
  414. 00000420  3F00                     move.w     -[A7], D0
  415. 00000422  302E FFEC                move.w     D0, [A6 - 0x14]
  416. 00000426  48C0                     ext.l      D0
  417. 00000428  4480                     neg.l      D0
  418. 0000042A  3F00                     move.w     -[A7], D0
  419. 0000042C  A8A8                     syscall    OffsetRect
  420. 0000042E  486E FFEC                pea.l      [A6 - 0x14]
  421. 00000432  302E FFEE                move.w     D0, [A6 - 0x12]
  422. 00000436  48C0                     ext.l      D0
  423. 00000438  322E FFFA                move.w     D1, [A6 - 0x6]
  424. 0000043C  48C1                     ext.l      D1
  425. 0000043E  342E FFF6                move.w     D2, [A6 - 0xA]
  426. 00000442  48C2                     ext.l      D2
  427. 00000444  9282                     sub.l      D1, D2
  428. 00000446  E281                     asr        D1, 1
  429. 00000448  D280                     add.l      D1, D0
  430. 0000044A  302E FFF2                move.w     D0, [A6 - 0xE]
  431. 0000044E  48C0                     ext.l      D0
  432. 00000450  342E FFEE                move.w     D2, [A6 - 0x12]
  433. 00000454  48C2                     ext.l      D2
  434. 00000456  9082                     sub.l      D0, D2
  435. 00000458  E280                     asr        D0, 1
  436. 0000045A  9240                     sub.w      D1, D0
  437. 0000045C  3F01                     move.w     -[A7], D1
  438. 0000045E  302E FFE0                move.w     D0, [A6 - 0x20]
  439. 00000462  48C0                     ext.l      D0
  440. 00000464  322E FFEC                move.w     D1, [A6 - 0x14]
  441. 00000468  48C1                     ext.l      D1
  442. 0000046A  9081                     sub.l      D0, D1
  443. 0000046C  906A 0160                sub.w      D0, [A2 + 0x160]
  444. 00000470  3F00                     move.w     -[A7], D0
  445. 00000472  A8A8                     syscall    OffsetRect
  446. 00000474  2F0C                     move.l     -[A7], A4
  447. 00000476  486E FFEC                pea.l      [A6 - 0x14]
  448. 0000047A  A8F6                     syscall    DrawPicture
  449. 0000047C  2F0C                     move.l     -[A7], A4
  450. 0000047E  A9A3                     syscall    ReleaseResource
  451. label00000480:
  452. 00000480  5247                     addq.w     D7, 1
  453. 00000482  302E FFE6                move.w     D0, [A6 - 0x1A]
  454. 00000486  D16E FFE4                add.w      [A6 - 0x1C], D0
  455. label0000048A:
  456. 0000048A  302E FFE4                move.w     D0, [A6 - 0x1C]
  457. 0000048E  48C0                     ext.l      D0
  458. 00000490  BC80                     cmp.l      D6, D0
  459. 00000492  6E00 FF26                bgt        -0xD8 /* 000003BA */
  460. label00000496:
  461. 00000496  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  462. 0000049A  A879                     syscall    SetClip
  463. 0000049C  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  464. 000004A0  A8D9                     syscall    DisposRgn/DisposeRgn
  465. label000004A2:
  466. 000004A2  3F05                     move.w     -[A7], D5
  467. 000004A4  A998                     syscall    UseResFile
  468. 000004A6  4CEE 1CE0 FFC8           movem.l    D5,D6,D7,A2,A3,A4, [A6 - 0x38]
  469. 000004AC  4E5E                     unlink     A6
  470. 000004AE  4E75                     rts
  471. fn000004B0:
  472. 000004B0  4E56 FFF8                link       A6, -0x0008
  473. 000004B4  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  474. 000004B8  286E 0008                movea.l    A4, [A6 + 0x8]
  475. 000004BC  4247                     clr.w      D7
  476. 000004BE  558F                     subq.l     A7, 2
  477. 000004C0  3F2C 00EA                move.w     -[A7], [A4 + 0xEA]
  478. 000004C4  7001                     moveq.l    D0, 0x01
  479. 000004C6  3F00                     move.w     -[A7], D0
  480. 000004C8  7200                     moveq.l    D1, 0x00
  481. 000004CA  2F01                     move.l     -[A7], D1
  482. 000004CC  4EAD 0122                jsr        [A5 + 0x122 /* export_32 */]
  483. 000004D0  206C 0170                movea.l    A0, [A4 + 0x170]
  484. 000004D4  2050                     movea.l    A0, [A0]
  485. 000004D6  3028 003C                move.w     D0, [A0 + 0x3C]
  486. 000004DA  48C0                     ext.l      D0
  487. 000004DC  2D40 FFFC                move.l     [A6 - 0x4], D0
  488. 000004E0  558F                     subq.l     A7, 2
  489. 000004E2  3F2C 00EA                move.w     -[A7], [A4 + 0xEA]
  490. 000004E6  486E FFFC                pea.l      [A6 - 0x4]
  491. 000004EA  206C 0170                movea.l    A0, [A4 + 0x170]
  492. 000004EE  2050                     movea.l    A0, [A0]
  493. 000004F0  2068 003E                movea.l    A0, [A0 + 0x3E]
  494. 000004F4  2F10                     move.l     -[A7], [A0]
  495. 000004F6  4EAD 010A                jsr        [A5 + 0x10A /* export_29 */]
  496. 000004FA  3E1F                     move.w     D7, [A7]+
  497. 000004FC  544F                     addq.w     A7, 2
  498. 000004FE  6600 0144                bne        +0x146 /* 00000644 */
  499. 00000502  558F                     subq.l     A7, 2
  500. 00000504  3F2C 00EA                move.w     -[A7], [A4 + 0xEA]
  501. 00000508  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  502. 0000050C  4EAD 011A                jsr        [A5 + 0x11A /* export_31 */]
  503. 00000510  70FF                     moveq.l    D0, 0xFFFFFFFF
  504. 00000512  B06C 00EC                cmp.w      D0, [A4 + 0xEC]
  505. 00000516  544F                     addq.w     A7, 2
  506. 00000518  662C                     bne        +0x2E /* 00000546 */
  507. 0000051A  486C 00A4                pea.l      [A4 + 0xA4]
  508. 0000051E  2F3C 7474 7874           move.l     -[A7], 0x74747874 /* 'ttxt' */
  509. 00000524  2F2C 00A0                move.l     -[A7], [A4 + 0xA0]
  510. 00000528  7000                     moveq.l    D0, 0x00
  511. 0000052A  3F00                     move.w     -[A7], D0
  512. 0000052C  303C 000E                move.w     D0, 0xE
  513. 00000530  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  514. 00000532  558F                     subq.l     A7, 2
  515. 00000534  486C 00A4                pea.l      [A4 + 0xA4]
  516. 00000538  7003                     moveq.l    D0, 0x03
  517. 0000053A  1F00                     move.b     -[A7], D0
  518. 0000053C  303C 000D                move.w     D0, 0xD /* '\r' */
  519. 00000540  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  520. 00000542  395F 00EC                move.w     [A4 + 0xEC], [A7]+
  521. label00000546:
  522. 00000546  70FF                     moveq.l    D0, 0xFFFFFFFF
  523. 00000548  B06C 00EC                cmp.w      D0, [A4 + 0xEC]
  524. 0000054C  6700 00F6                beq        +0xF8 /* 00000644 */
  525. 00000550  558F                     subq.l     A7, 2
  526. 00000552  A994                     syscall    CurResFile
  527. 00000554  3C1F                     move.w     D6, [A7]+
  528. 00000556  3F2C 00EC                move.w     -[A7], [A4 + 0xEC]
  529. 0000055A  A998                     syscall    UseResFile
  530. 0000055C  598F                     subq.l     A7, 4
  531. 0000055E  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  532. 00000564  3F3C 2710                move.w     -[A7], 0x2710
  533. 00000568  A81F                     syscall    Get1Resource
  534. 0000056A  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  535. 0000056E  670C                     beq        +0xE /* 0000057C */
  536. 00000570  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  537. 00000574  A9AD                     syscall    RemoveResource/RmveResource
  538. 00000576  206E FFF8                movea.l    A0, [A6 - 0x8]
  539. 0000057A  A023                     syscall    DisposHandle/DisposeHandle
  540. label0000057C:
  541. 0000057C  2D6C 0174 FFF8           move.l     [A6 - 0x8], [A4 + 0x174]
  542. 00000582  672E                     beq        +0x30 /* 000005B2 */
  543. 00000584  558F                     subq.l     A7, 2
  544. 00000586  486E FFF8                pea.l      [A6 - 0x8]
  545. 0000058A  4EAD 0132                jsr        [A5 + 0x132 /* export_34 */]
  546. 0000058E  3E1F                     move.w     D7, [A7]+
  547. 00000590  661A                     bne        +0x1C /* 000005AC */
  548. 00000592  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  549. 00000596  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  550. 0000059C  3F3C 2710                move.w     -[A7], 0x2710
  551. 000005A0  487A 00B6                pea.l      [PC + 0xB6 /* 00000658, value 0x4E56 'NV', cstring "" */]
  552. 000005A4  A9AB                     syscall    AddResource
  553. 000005A6  558F                     subq.l     A7, 2
  554. 000005A8  A9AF                     syscall    ResError
  555. 000005AA  3E1F                     move.w     D7, [A7]+
  556. label000005AC:
  557. 000005AC  4A47                     tst.w      D7
  558. 000005AE  6600 0090                bne        +0x92 /* 00000640 */
  559. label000005B2:
  560. 000005B2  598F                     subq.l     A7, 4
  561. 000005B4  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  562. 000005BA  3F3C 0080                move.w     -[A7], 0x80
  563. 000005BE  A81F                     syscall    Get1Resource
  564. 000005C0  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  565. 000005C4  670C                     beq        +0xE /* 000005D2 */
  566. 000005C6  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  567. 000005CA  A9AD                     syscall    RemoveResource/RmveResource
  568. 000005CC  206E FFF8                movea.l    A0, [A6 - 0x8]
  569. 000005D0  A023                     syscall    DisposHandle/DisposeHandle
  570. label000005D2:
  571. 000005D2  206C 0170                movea.l    A0, [A4 + 0x170]
  572. 000005D6  2050                     movea.l    A0, [A0]
  573. 000005D8  3828 0020                move.w     D4, [A0 + 0x20]
  574. 000005DC  206C 0170                movea.l    A0, [A4 + 0x170]
  575. 000005E0  2050                     movea.l    A0, [A0]
  576. 000005E2  3A28 0022                move.w     D5, [A0 + 0x22]
  577. 000005E6  206C 0170                movea.l    A0, [A4 + 0x170]
  578. 000005EA  2050                     movea.l    A0, [A0]
  579. 000005EC  4268 0020                clr.w      [A0 + 0x20]
  580. 000005F0  206C 0170                movea.l    A0, [A4 + 0x170]
  581. 000005F4  2050                     movea.l    A0, [A0]
  582. 000005F6  317C 7FFF 0022           move.w     [A0 + 0x22], 0x7FFF
  583. 000005FC  598F                     subq.l     A7, 4
  584. 000005FE  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  585. 00000602  3F3C 0006                move.w     -[A7], 0x6
  586. 00000606  A83D                     syscall    TEDispatch
  587. 00000608  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  588. 0000060C  206C 0170                movea.l    A0, [A4 + 0x170]
  589. 00000610  2050                     movea.l    A0, [A0]
  590. 00000612  3144 0020                move.w     [A0 + 0x20], D4
  591. 00000616  206C 0170                movea.l    A0, [A4 + 0x170]
  592. 0000061A  2050                     movea.l    A0, [A0]
  593. 0000061C  3145 0022                move.w     [A0 + 0x22], D5
  594. 00000620  4AAE FFF8                tst.l      [A6 - 0x8]
  595. 00000624  671A                     beq        +0x1C /* 00000640 */
  596. 00000626  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  597. 0000062A  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  598. 00000630  3F3C 0080                move.w     -[A7], 0x80
  599. 00000634  487A 0022                pea.l      [PC + 0x22 /* 00000658, value 0x4E56 'NV', cstring "" */]
  600. 00000638  A9AB                     syscall    AddResource
  601. 0000063A  558F                     subq.l     A7, 2
  602. 0000063C  A9AF                     syscall    ResError
  603. 0000063E  3E1F                     move.w     D7, [A7]+
  604. label00000640:
  605. 00000640  3F06                     move.w     -[A7], D6
  606. 00000642  A998                     syscall    UseResFile
  607. label00000644:
  608. 00000644  4A47                     tst.w      D7
  609. 00000646  6604                     bne        +0x6 /* 0000064C */
  610. 00000648  422C 00F3                clr.b      [A4 + 0xF3]
  611. label0000064C:
  612. 0000064C  3007                     move.w     D0, D7
  613. 0000064E  4CEE 10F0 FFE4           movem.l    D4,D5,D6,D7,A4, [A6 - 0x1C]
  614. 00000654  4E5E                     unlink     A6
  615. 00000656  4E75                     rts
  616. 00000658  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  617. 0000065C  FFF2                     .invalid   <<F/7/7>>
  618. 0000065E  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  619. 00000662  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  620. 00000666  486E FFF2                pea.l      [A6 - 0xE]
  621. 0000066A  486E FFF4                pea.l      [A6 - 0xC]
  622. 0000066E  486E FFF8                pea.l      [A6 - 0x8]
  623. 00000672  A98D                     syscall    GetDialogItem/GetDItem
  624. 00000674  558F                     subq.l     A7, 2
  625. 00000676  486E FFF8                pea.l      [A6 - 0x8]
  626. 0000067A  7000                     moveq.l    D0, 0x00
  627. 0000067C  3F00                     move.w     -[A7], D0
  628. 0000067E  3F00                     move.w     -[A7], D0
  629. 00000680  3F3C 0081                move.w     -[A7], 0x81
  630. 00000684  303C 0500                move.w     D0, 0x500
  631. 00000688  ABC9                     syscall    IconDispatch
  632. 0000068A  4E5E                     unlink     A6
  633. 0000068C  205F                     movea.l    A0, [A7]+
  634. 0000068E  5C4F                     addq.w     A7, 6
  635. 00000690  4ED0                     jmp        [A0]
  636. 00000692  4E56 FFF2                link       A6, -0x000E
  637. 00000696  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  638. 0000069A  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  639. 0000069E  486E FFF2                pea.l      [A6 - 0xE]
  640. 000006A2  486E FFF4                pea.l      [A6 - 0xC]
  641. 000006A6  486E FFF8                pea.l      [A6 - 0x8]
  642. 000006AA  A98D                     syscall    GetDialogItem/GetDItem
  643. 000006AC  558F                     subq.l     A7, 2
  644. 000006AE  486E FFF8                pea.l      [A6 - 0x8]
  645. 000006B2  7000                     moveq.l    D0, 0x00
  646. 000006B4  3F00                     move.w     -[A7], D0
  647. 000006B6  3F00                     move.w     -[A7], D0
  648. 000006B8  3F3C 0084                move.w     -[A7], 0x84
  649. 000006BC  303C 0500                move.w     D0, 0x500
  650. 000006C0  ABC9                     syscall    IconDispatch
  651. 000006C2  4E5E                     unlink     A6
  652. 000006C4  205F                     movea.l    A0, [A7]+
  653. 000006C6  5C4F                     addq.w     A7, 6
  654. 000006C8  4ED0                     jmp        [A0]
  655. 000006CA  4E56 FFF2                link       A6, -0x000E
  656. 000006CE  48E7 0108                movem.l    -[A7], D7,A4
  657. 000006D2  286E 000C                movea.l    A4, [A6 + 0xC]
  658. 000006D6  598F                     subq.l     A7, 4
  659. 000006D8  7016                     moveq.l    D0, 0x16
  660. 000006DA  3F00                     move.w     -[A7], D0
  661. 000006DC  2F3C 8402 0008           move.l     -[A7], 0x84020008
  662. 000006E2  A8B5                     syscall    ScriptUtil
  663. 000006E4  201F                     move.l     D0, [A7]+
  664. 000006E6  3E00                     move.w     D7, D0
  665. 000006E8  3D7C 0001 FFF2           move.w     [A6 - 0xE], 0x1
  666. 000006EE  558F                     subq.l     A7, 2
  667. 000006F0  486E FFF2                pea.l      [A6 - 0xE]
  668. 000006F4  486E FFF4                pea.l      [A6 - 0xC]
  669. 000006F8  2F0C                     move.l     -[A7], A4
  670. 000006FA  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  671. 000006FE  A83D                     syscall    TEDispatch
  672. 00000700  4A1F                     tst.b      [A7]+
  673. 00000702  6712                     beq        +0x14 /* 00000716 */
  674. 00000704  558F                     subq.l     A7, 2
  675. 00000706  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  676. 0000070A  2F3C 8202 0006           move.l     -[A7], 0x82020006
  677. 00000710  A8B5                     syscall    ScriptUtil
  678. 00000712  BE5F                     cmp.w      D7, [A7]+
  679. 00000714  672A                     beq        +0x2C /* 00000740 */
  680. label00000716:
  681. 00000716  598F                     subq.l     A7, 4
  682. 00000718  3F07                     move.w     -[A7], D7
  683. 0000071A  700E                     moveq.l    D0, 0x0E
  684. 0000071C  3F00                     move.w     -[A7], D0
  685. 0000071E  2F3C 8404 000C           move.l     -[A7], 0x8404000C
  686. 00000724  A8B5                     syscall    ScriptUtil
  687. 00000726  201F                     move.l     D0, [A7]+
  688. 00000728  3D40 FFF4                move.w     [A6 - 0xC], D0
  689. 0000072C  7001                     moveq.l    D0, 0x01
  690. 0000072E  3F00                     move.w     -[A7], D0
  691. 00000730  486E FFF4                pea.l      [A6 - 0xC]
  692. 00000734  7200                     moveq.l    D1, 0x00
  693. 00000736  1F01                     move.b     -[A7], D1
  694. 00000738  2F0C                     move.l     -[A7], A4
  695. 0000073A  3F3C 0001                move.w     -[A7], 0x1
  696. 0000073E  A83D                     syscall    TEDispatch
  697. label00000740:
  698. 00000740  4CEE 1080 FFEA           movem.l    D7,A4, [A6 - 0x16]
  699. 00000746  4E5E                     unlink     A6
  700. 00000748  205F                     movea.l    A0, [A7]+
  701. 0000074A  504F                     addq.w     A7, 8
  702. 0000074C  4ED0                     jmp        [A0]
  703. 0000074E  4E56 0000                link       A6, 0
  704. 00000752  2F07                     move.l     -[A7], D7
  705. 00000754  2E2E 0008                move.l     D7, [A6 + 0x8]
  706. 00000758  7000                     moveq.l    D0, 0x00
  707. 0000075A  2F00                     move.l     -[A7], D0
  708. 0000075C  2F00                     move.l     -[A7], D0
  709. 0000075E  2F00                     move.l     -[A7], D0
  710. 00000760  2F07                     move.l     -[A7], D7
  711. 00000762  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  712. 00000766  7001                     moveq.l    D0, 0x01
  713. 00000768  2F00                     move.l     -[A7], D0
  714. 0000076A  2F07                     move.l     -[A7], D7
  715. 0000076C  4EBA F8FA                jsr        [PC - 0x706 /* 00000068 */]
  716. 00000770  2047                     movea.l    A0, D7
  717. 00000772  117C 0001 00F3           move.b     [A0 + 0xF3], 0x1
  718. 00000778  2E2E FFFC                move.l     D7, [A6 - 0x4]
  719. 0000077C  4E5E                     unlink     A6
  720. 0000077E  205F                     movea.l    A0, [A7]+
  721. 00000780  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  722. 00000784  4ED0                     jmp        [A0]
  723. 00000786  4E56 FFF2                link       A6, -0x000E
  724. 0000078A  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  725. 0000078E  3C2E 0010                move.w     D6, [A6 + 0x10]
  726. 00000792  266E 0008                movea.l    A3, [A6 + 0x8]
  727. 00000796  286E 000C                movea.l    A4, [A6 + 0xC]
  728. 0000079A  3E06                     move.w     D7, D6
  729. 0000079C  3006                     move.w     D0, D6
  730. 0000079E  5240                     addq.w     D0, 1
  731. 000007A0  671E                     beq        +0x20 /* 000007C0 */
  732. 000007A2  0440 000F                subi.w     D0, 0xF
  733. 000007A6  6700 00C8                beq        +0xCA /* 00000870 */
  734. 000007AA  5340                     subq.w     D0, 1
  735. 000007AC  6700 0106                beq        +0x108 /* 000008B4 */
  736. 000007B0  5340                     subq.w     D0, 1
  737. 000007B2  6700 00BC                beq        +0xBE /* 00000870 */
  738. 000007B6  5340                     subq.w     D0, 1
  739. 000007B8  6700 00FA                beq        +0xFC /* 000008B4 */
  740. 000007BC  6000 0136                bra        +0x138 /* 000008F4 */
  741. label000007C0:
  742. 000007C0  598F                     subq.l     A7, 4
  743. 000007C2  2F0C                     move.l     -[A7], A4
  744. 000007C4  A917                     syscall    GetWRefCon
  745. 000007C6  0C9F 7374 6466           cmpi.l     [A7]+, 0x73746466 /* 'stdf' */
  746. 000007CC  6600 0126                bne        +0x128 /* 000008F4 */
  747. 000007D0  2F0C                     move.l     -[A7], A4
  748. 000007D2  7010                     moveq.l    D0, 0x10
  749. 000007D4  3F00                     move.w     -[A7], D0
  750. 000007D6  486E FFF2                pea.l      [A6 - 0xE]
  751. 000007DA  486E FFF4                pea.l      [A6 - 0xC]
  752. 000007DE  486E FFF8                pea.l      [A6 - 0x8]
  753. 000007E2  A98D                     syscall    GetDialogItem/GetDItem
  754. 000007E4  41FA FE74                lea.l      A0, [PC - 0x18C /* 0000065A, value 0x4E56FFF2 */]
  755. 000007E8  2D48 FFF4                move.l     [A6 - 0xC], A0
  756. 000007EC  2F0C                     move.l     -[A7], A4
  757. 000007EE  7010                     moveq.l    D0, 0x10
  758. 000007F0  3F00                     move.w     -[A7], D0
  759. 000007F2  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  760. 000007F6  2F08                     move.l     -[A7], A0
  761. 000007F8  486E FFF8                pea.l      [A6 - 0x8]
  762. 000007FC  A98E                     syscall    SetDialogItem/SetDItem
  763. 000007FE  2F0C                     move.l     -[A7], A4
  764. 00000800  7011                     moveq.l    D0, 0x11
  765. 00000802  3F00                     move.w     -[A7], D0
  766. 00000804  486E FFF2                pea.l      [A6 - 0xE]
  767. 00000808  486E FFF4                pea.l      [A6 - 0xC]
  768. 0000080C  486E FFF8                pea.l      [A6 - 0x8]
  769. 00000810  A98D                     syscall    GetDialogItem/GetDItem
  770. 00000812  41FA FE7E                lea.l      A0, [PC - 0x182 /* 00000692, value 0x4E56FFF2 */]
  771. 00000816  2D48 FFF4                move.l     [A6 - 0xC], A0
  772. 0000081A  2F0C                     move.l     -[A7], A4
  773. 0000081C  7011                     moveq.l    D0, 0x11
  774. 0000081E  3F00                     move.w     -[A7], D0
  775. 00000820  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  776. 00000824  2F08                     move.l     -[A7], A0
  777. 00000826  486E FFF8                pea.l      [A6 - 0x8]
  778. 0000082A  A98E                     syscall    SetDialogItem/SetDItem
  779. 0000082C  2F0C                     move.l     -[A7], A4
  780. 0000082E  700E                     moveq.l    D0, 0x0E
  781. 00000830  3F00                     move.w     -[A7], D0
  782. 00000832  486E FFF2                pea.l      [A6 - 0xE]
  783. 00000836  486E FFF4                pea.l      [A6 - 0xC]
  784. 0000083A  486E FFF8                pea.l      [A6 - 0x8]
  785. 0000083E  A98D                     syscall    GetDialogItem/GetDItem
  786. 00000840  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  787. 00000844  7001                     moveq.l    D0, 0x01
  788. 00000846  3F00                     move.w     -[A7], D0
  789. 00000848  A963                     syscall    SetControlValue/SetCtlValue
  790. 0000084A  2F0C                     move.l     -[A7], A4
  791. 0000084C  700F                     moveq.l    D0, 0x0F
  792. 0000084E  3F00                     move.w     -[A7], D0
  793. 00000850  486E FFF2                pea.l      [A6 - 0xE]
  794. 00000854  486E FFF4                pea.l      [A6 - 0xC]
  795. 00000858  486E FFF8                pea.l      [A6 - 0x8]
  796. 0000085C  A98D                     syscall    GetDialogItem/GetDItem
  797. 0000085E  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  798. 00000862  7000                     moveq.l    D0, 0x00
  799. 00000864  3F00                     move.w     -[A7], D0
  800. 00000866  A963                     syscall    SetControlValue/SetCtlValue
  801. 00000868  16BC 0001                move.b     [A3], 0x1
  802. 0000086C  6000 0086                bra        +0x88 /* 000008F4 */
  803. label00000870:
  804. 00000870  2F0C                     move.l     -[A7], A4
  805. 00000872  700E                     moveq.l    D0, 0x0E
  806. 00000874  3F00                     move.w     -[A7], D0
  807. 00000876  486E FFF2                pea.l      [A6 - 0xE]
  808. 0000087A  486E FFF4                pea.l      [A6 - 0xC]
  809. 0000087E  486E FFF8                pea.l      [A6 - 0x8]
  810. 00000882  A98D                     syscall    GetDialogItem/GetDItem
  811. 00000884  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  812. 00000888  7001                     moveq.l    D0, 0x01
  813. 0000088A  3F00                     move.w     -[A7], D0
  814. 0000088C  A963                     syscall    SetControlValue/SetCtlValue
  815. 0000088E  2F0C                     move.l     -[A7], A4
  816. 00000890  700F                     moveq.l    D0, 0x0F
  817. 00000892  3F00                     move.w     -[A7], D0
  818. 00000894  486E FFF2                pea.l      [A6 - 0xE]
  819. 00000898  486E FFF4                pea.l      [A6 - 0xC]
  820. 0000089C  486E FFF8                pea.l      [A6 - 0x8]
  821. 000008A0  A98D                     syscall    GetDialogItem/GetDItem
  822. 000008A2  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  823. 000008A6  7000                     moveq.l    D0, 0x00
  824. 000008A8  3F00                     move.w     -[A7], D0
  825. 000008AA  A963                     syscall    SetControlValue/SetCtlValue
  826. 000008AC  16BC 0001                move.b     [A3], 0x1
  827. 000008B0  7E64                     moveq.l    D7, 0x64
  828. 000008B2  6040                     bra        +0x42 /* 000008F4 */
  829. label000008B4:
  830. 000008B4  2F0C                     move.l     -[A7], A4
  831. 000008B6  700E                     moveq.l    D0, 0x0E
  832. 000008B8  3F00                     move.w     -[A7], D0
  833. 000008BA  486E FFF2                pea.l      [A6 - 0xE]
  834. 000008BE  486E FFF4                pea.l      [A6 - 0xC]
  835. 000008C2  486E FFF8                pea.l      [A6 - 0x8]
  836. 000008C6  A98D                     syscall    GetDialogItem/GetDItem
  837. 000008C8  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  838. 000008CC  7000                     moveq.l    D0, 0x00
  839. 000008CE  3F00                     move.w     -[A7], D0
  840. 000008D0  A963                     syscall    SetControlValue/SetCtlValue
  841. 000008D2  2F0C                     move.l     -[A7], A4
  842. 000008D4  700F                     moveq.l    D0, 0x0F
  843. 000008D6  3F00                     move.w     -[A7], D0
  844. 000008D8  486E FFF2                pea.l      [A6 - 0xE]
  845. 000008DC  486E FFF4                pea.l      [A6 - 0xC]
  846. 000008E0  486E FFF8                pea.l      [A6 - 0x8]
  847. 000008E4  A98D                     syscall    GetDialogItem/GetDItem
  848. 000008E6  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  849. 000008EA  7001                     moveq.l    D0, 0x01
  850. 000008EC  3F00                     move.w     -[A7], D0
  851. 000008EE  A963                     syscall    SetControlValue/SetCtlValue
  852. 000008F0  4213                     clr.b      [A3]
  853. 000008F2  7E64                     moveq.l    D7, 0x64
  854. label000008F4:
  855. 000008F4  3D47 0012                move.w     [A6 + 0x12], D7
  856. 000008F8  4CEE 18C0 FFE2           movem.l    D6,D7,A3,A4, [A6 - 0x1E]
  857. 000008FE  4E5E                     unlink     A6
  858. 00000900  205F                     movea.l    A0, [A7]+
  859. 00000902  4FEF 000A                lea.l      A7, [A7 + 0xA]
  860. 00000906  4ED0                     jmp        [A0]
  861. 00000908  4E56 0000                link       A6, 0
  862. 0000090C  2F0C                     move.l     -[A7], A4
  863. 0000090E  286E 0010                movea.l    A4, [A6 + 0x10]
  864. 00000912  558F                     subq.l     A7, 2
  865. 00000914  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  866. 00000918  2F0C                     move.l     -[A7], A4
  867. 0000091A  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  868. 0000091E  4EAD 015A                jsr        [A5 + 0x15A /* export_39 */]
  869. 00000922  4A1F                     tst.b      [A7]+
  870. 00000924  6708                     beq        +0xA /* 0000092E */
  871. 00000926  1D7C 0001 0018           move.b     [A6 + 0x18], 0x1
  872. 0000092C  6012                     bra        +0x14 /* 00000940 */
  873. label0000092E:
  874. 0000092E  7006                     moveq.l    D0, 0x06
  875. 00000930  B054                     cmp.w      D0, [A4]
  876. 00000932  6608                     bne        +0xA /* 0000093C */
  877. 00000934  2F0C                     move.l     -[A7], A4
  878. 00000936  4EAD 008A                jsr        [A5 + 0x8A /* export_13 */]
  879. 0000093A  584F                     addq.w     A7, 4
  880. label0000093C:
  881. 0000093C  422E 0018                clr.b      [A6 + 0x18]
  882. label00000940:
  883. 00000940  286E FFFC                movea.l    A4, [A6 - 0x4]
  884. 00000944  4E5E                     unlink     A6
  885. 00000946  205F                     movea.l    A0, [A7]+
  886. 00000948  4FEF 0010                lea.l      A7, [A7 + 0x10]
  887. 0000094C  4ED0                     jmp        [A0]
  888. fn0000094E:
  889. 0000094E  4E56 FE92                link       A6, -0x016E
  890. 00000952  48E7 0738                movem.l    -[A7], D5,D6,D7,A2,A3,A4
  891. 00000956  47EE FEA2                lea.l      A3, [A6 - 0x15E]
  892. 0000095A  286E 0008                movea.l    A4, [A6 + 0x8]
  893. 0000095E  4247                     clr.w      D7
  894. 00000960  3A2C 00EC                move.w     D5, [A4 + 0xEC]
  895. 00000964  3C2C 00EA                move.w     D6, [A4 + 0xEA]
  896. 00000968  3D7C FFFF FFA4           move.w     [A6 - 0x5C], 0xFFFF
  897. 0000096E  3D7C FFFF FFA2           move.w     [A6 - 0x5E], 0xFFFF
  898. 00000974  2F0C                     move.l     -[A7], A4
  899. 00000976  2F0B                     move.l     -[A7], A3
  900. 00000978  A919                     syscall    GetWTitle
  901. 0000097A  486D FE5A                pea.l      [A5 - 0x1A6]
  902. 0000097E  A851                     syscall    SetCursor
  903. 00000980  487A 022E                pea.l      [PC + 0x22E /* 00000BB0, value 0x4E56 'NV', cstring "" */]
  904. 00000984  2F0B                     move.l     -[A7], A3
  905. 00000986  486E FFA6                pea.l      [A6 - 0x5A]
  906. 0000098A  3F3C 0259                move.w     -[A7], 0x259
  907. 0000098E  2F2E FFA2                move.l     -[A7], [A6 - 0x5E]
  908. 00000992  487A FDF2                pea.l      [PC - 0x20E /* 00000786, value 0x4E56FFF2 */]
  909. 00000996  487A FF70                pea.l      [PC - 0x90 /* 00000908, value 0x4E560000 'NV\0\0', cstring "NV" */]
  910. 0000099A  7000                     moveq.l    D0, 0x00
  911. 0000099C  2F00                     move.l     -[A7], D0
  912. 0000099E  2F00                     move.l     -[A7], D0
  913. 000009A0  486E FFFF                pea.l      [A6 - 0x1]
  914. 000009A4  3F3C 0007                move.w     -[A7], 0x7
  915. 000009A8  A9EA                     syscall    Pack3
  916. 000009AA  4A2E FFA6                tst.b      [A6 - 0x5A]
  917. 000009AE  6602                     bne        +0x4 /* 000009B2 */
  918. 000009B0  7E65                     moveq.l    D7, 0x65
  919. label000009B2:
  920. 000009B2  4A2E FFA7                tst.b      [A6 - 0x59]
  921. 000009B6  672A                     beq        +0x2C /* 000009E2 */
  922. 000009B8  558F                     subq.l     A7, 2
  923. 000009BA  486E FFAC                pea.l      [A6 - 0x54]
  924. 000009BE  486E FF96                pea.l      [A6 - 0x6A]
  925. 000009C2  303C 0007                move.w     D0, 0x7
  926. 000009C6  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  927. 000009C8  0CAE 5445 5854 FF96      cmpi.l     [A6 - 0x6A], 0x54455854 /* 'TEXT' */
  928. 000009D0  544F                     addq.w     A7, 2
  929. 000009D2  670E                     beq        +0x10 /* 000009E2 */
  930. 000009D4  0CAE 7345 5854 FF96      cmpi.l     [A6 - 0x6A], 0x73455854 /* 'sEXT' */
  931. 000009DC  6704                     beq        +0x6 /* 000009E2 */
  932. 000009DE  3E3C 00C9                move.w     D7, 0xC9
  933. label000009E2:
  934. 000009E2  4A47                     tst.w      D7
  935. 000009E4  6600 0174                bne        +0x176 /* 00000B5A */
  936. 000009E8  4A2E FFA7                tst.b      [A6 - 0x59]
  937. 000009EC  6700 0086                beq        +0x88 /* 00000A74 */
  938. 000009F0  0C46 FFFF                cmpi.w     D6, 0xFFFF
  939. 000009F4  677E                     beq        +0x80 /* 00000A74 */
  940. 000009F6  302C 00A4                move.w     D0, [A4 + 0xA4]
  941. 000009FA  B06E FFAC                cmp.w      D0, [A6 - 0x54]
  942. 000009FE  6674                     bne        +0x76 /* 00000A74 */
  943. 00000A00  202C 00A6                move.l     D0, [A4 + 0xA6]
  944. 00000A04  B0AE FFAE                cmp.l      D0, [A6 - 0x52]
  945. 00000A08  666A                     bne        +0x6C /* 00000A74 */
  946. 00000A0A  558F                     subq.l     A7, 2
  947. 00000A0C  486C 00AA                pea.l      [A4 + 0xAA]
  948. 00000A10  486E FFB2                pea.l      [A6 - 0x4E]
  949. 00000A14  7000                     moveq.l    D0, 0x00
  950. 00000A16  1F00                     move.b     -[A7], D0
  951. 00000A18  1F00                     move.b     -[A7], D0
  952. 00000A1A  4EAD 00F2                jsr        [A5 + 0xF2 /* export_26 */]
  953. 00000A1E  4A1F                     tst.b      [A7]+
  954. 00000A20  6752                     beq        +0x54 /* 00000A74 */
  955. 00000A22  2F0C                     move.l     -[A7], A4
  956. 00000A24  4EBA FA8A                jsr        [PC - 0x576 /* 000004B0 */]
  957. 00000A28  3E00                     move.w     D7, D0
  958. 00000A2A  584F                     addq.w     A7, 4
  959. 00000A2C  6600 0162                bne        +0x164 /* 00000B90 */
  960. 00000A30  558F                     subq.l     A7, 2
  961. 00000A32  486E FFAC                pea.l      [A6 - 0x54]
  962. 00000A36  486E FE92                pea.l      [A6 - 0x16E]
  963. 00000A3A  303C 0007                move.w     D0, 0x7
  964. 00000A3E  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  965. 00000A40  2D7C 7474 7874 FE96      move.l     [A6 - 0x16A], 0x74747874 /* 'ttxt' */
  966. 00000A48  4A2E FFFF                tst.b      [A6 - 0x1]
  967. 00000A4C  544F                     addq.w     A7, 2
  968. 00000A4E  660E                     bne        +0x10 /* 00000A5E */
  969. 00000A50  006E 0800 FE9A           ori.w      [A6 - 0x166], 0x800
  970. 00000A56  2D7C 7345 5854 FE92      move.l     [A6 - 0x16E], 0x73455854 /* 'sEXT' */
  971. label00000A5E:
  972. 00000A5E  558F                     subq.l     A7, 2
  973. 00000A60  486E FFAC                pea.l      [A6 - 0x54]
  974. 00000A64  486E FE92                pea.l      [A6 - 0x16E]
  975. 00000A68  303C 0008                move.w     D0, 0x8
  976. 00000A6C  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  977. 00000A6E  544F                     addq.w     A7, 2
  978. 00000A70  6000 011E                bra        +0x120 /* 00000B90 */
  979. label00000A74:
  980. 00000A74  558F                     subq.l     A7, 2
  981. 00000A76  486E FFAC                pea.l      [A6 - 0x54]
  982. 00000A7A  303C 0006                move.w     D0, 0x6
  983. 00000A7E  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  984. 00000A80  558F                     subq.l     A7, 2
  985. 00000A82  486E FFAC                pea.l      [A6 - 0x54]
  986. 00000A86  2F3C 7474 7874           move.l     -[A7], 0x74747874 /* 'ttxt' */
  987. 00000A8C  4A2E FFFF                tst.b      [A6 - 0x1]
  988. 00000A90  6708                     beq        +0xA /* 00000A9A */
  989. 00000A92  203C 5445 5854           move.l     D0, 0x54455854 /* 'TEXT' */
  990. 00000A98  6006                     bra        +0x8 /* 00000AA0 */
  991. label00000A9A:
  992. 00000A9A  203C 7345 5854           move.l     D0, 0x73455854 /* 'sEXT' */
  993. label00000AA0:
  994. 00000AA0  2F00                     move.l     -[A7], D0
  995. 00000AA2  7000                     moveq.l    D0, 0x00
  996. 00000AA4  3F00                     move.w     -[A7], D0
  997. 00000AA6  303C 0004                move.w     D0, 0x4
  998. 00000AAA  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  999. 00000AAC  3E1F                     move.w     D7, [A7]+
  1000. 00000AAE  486E FFAC                pea.l      [A6 - 0x54]
  1001. 00000AB2  2F3C 7474 7874           move.l     -[A7], 0x74747874 /* 'ttxt' */
  1002. 00000AB8  4A2E FFFF                tst.b      [A6 - 0x1]
  1003. 00000ABC  6708                     beq        +0xA /* 00000AC6 */
  1004. 00000ABE  203C 5445 5854           move.l     D0, 0x54455854 /* 'TEXT' */
  1005. 00000AC4  6006                     bra        +0x8 /* 00000ACC */
  1006. label00000AC6:
  1007. 00000AC6  203C 7345 5854           move.l     D0, 0x73455854 /* 'sEXT' */
  1008. label00000ACC:
  1009. 00000ACC  2F00                     move.l     -[A7], D0
  1010. 00000ACE  7000                     moveq.l    D0, 0x00
  1011. 00000AD0  3F00                     move.w     -[A7], D0
  1012. 00000AD2  303C 000E                move.w     D0, 0xE
  1013. 00000AD6  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1014. 00000AD8  4A47                     tst.w      D7
  1015. 00000ADA  544F                     addq.w     A7, 2
  1016. 00000ADC  667C                     bne        +0x7E /* 00000B5A */
  1017. 00000ADE  4A2E FFFF                tst.b      [A6 - 0x1]
  1018. 00000AE2  6628                     bne        +0x2A /* 00000B0C */
  1019. 00000AE4  558F                     subq.l     A7, 2
  1020. 00000AE6  486E FFAC                pea.l      [A6 - 0x54]
  1021. 00000AEA  486E FE92                pea.l      [A6 - 0x16E]
  1022. 00000AEE  303C 0007                move.w     D0, 0x7
  1023. 00000AF2  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1024. 00000AF4  006E 0800 FE9A           ori.w      [A6 - 0x166], 0x800
  1025. 00000AFA  558F                     subq.l     A7, 2
  1026. 00000AFC  486E FFAC                pea.l      [A6 - 0x54]
  1027. 00000B00  486E FE92                pea.l      [A6 - 0x16E]
  1028. 00000B04  303C 0008                move.w     D0, 0x8
  1029. 00000B08  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1030. 00000B0A  584F                     addq.w     A7, 4
  1031. label00000B0C:
  1032. 00000B0C  558F                     subq.l     A7, 2
  1033. 00000B0E  486E FFAC                pea.l      [A6 - 0x54]
  1034. 00000B12  7003                     moveq.l    D0, 0x03
  1035. 00000B14  1F00                     move.b     -[A7], D0
  1036. 00000B16  486C 00EA                pea.l      [A4 + 0xEA]
  1037. 00000B1A  303C 0002                move.w     D0, 0x2
  1038. 00000B1E  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1039. 00000B20  3E1F                     move.w     D7, [A7]+
  1040. 00000B22  661A                     bne        +0x1C /* 00000B3E */
  1041. 00000B24  558F                     subq.l     A7, 2
  1042. 00000B26  486E FFAC                pea.l      [A6 - 0x54]
  1043. 00000B2A  7003                     moveq.l    D0, 0x03
  1044. 00000B2C  1F00                     move.b     -[A7], D0
  1045. 00000B2E  303C 000D                move.w     D0, 0xD /* '\r' */
  1046. 00000B32  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1047. 00000B34  395F 00EC                move.w     [A4 + 0xEC], [A7]+
  1048. 00000B38  558F                     subq.l     A7, 2
  1049. 00000B3A  A9AF                     syscall    ResError
  1050. 00000B3C  3E1F                     move.w     D7, [A7]+
  1051. label00000B3E:
  1052. 00000B3E  4A47                     tst.w      D7
  1053. 00000B40  660A                     bne        +0xC /* 00000B4C */
  1054. 00000B42  2F0C                     move.l     -[A7], A4
  1055. 00000B44  4EBA F96A                jsr        [PC - 0x696 /* 000004B0 */]
  1056. 00000B48  3E00                     move.w     D7, D0
  1057. 00000B4A  584F                     addq.w     A7, 4
  1058. label00000B4C:
  1059. 00000B4C  558F                     subq.l     A7, 2
  1060. 00000B4E  486E FFAC                pea.l      [A6 - 0x54]
  1061. 00000B52  303C 0006                move.w     D0, 0x6
  1062. 00000B56  AA52                     syscall    HFSPinaforeDispatch/HighLevelFSDispatch
  1063. 00000B58  544F                     addq.w     A7, 2
  1064. label00000B5A:
  1065. 00000B5A  4A47                     tst.w      D7
  1066. 00000B5C  662A                     bne        +0x2C /* 00000B88 */
  1067. 00000B5E  0C45 FFFF                cmpi.w     D5, 0xFFFF
  1068. 00000B62  6704                     beq        +0x6 /* 00000B68 */
  1069. 00000B64  3F05                     move.w     -[A7], D5
  1070. 00000B66  A99A                     syscall    CloseResFile
  1071. label00000B68:
  1072. 00000B68  0C46 FFFF                cmpi.w     D6, 0xFFFF
  1073. 00000B6C  670A                     beq        +0xC /* 00000B78 */
  1074. 00000B6E  558F                     subq.l     A7, 2
  1075. 00000B70  3F06                     move.w     -[A7], D6
  1076. 00000B72  4EAD 00FA                jsr        [A5 + 0xFA /* export_27 */]
  1077. 00000B76  544F                     addq.w     A7, 2
  1078. label00000B78:
  1079. 00000B78  197C 0001 00F0           move.b     [A4 + 0xF0], 0x1
  1080. 00000B7E  2F0C                     move.l     -[A7], A4
  1081. 00000B80  486E FFB2                pea.l      [A6 - 0x4E]
  1082. 00000B84  A91A                     syscall    SetWTitle
  1083. 00000B86  6008                     bra        +0xA /* 00000B90 */
  1084. label00000B88:
  1085. 00000B88  3945 00EC                move.w     [A4 + 0xEC], D5
  1086. 00000B8C  3946 00EA                move.w     [A4 + 0xEA], D6
  1087. label00000B90:
  1088. 00000B90  4A47                     tst.w      D7
  1089. 00000B92  6610                     bne        +0x12 /* 00000BA4 */
  1090. 00000B94  43EE FFAC                lea.l      A1, [A6 - 0x54]
  1091. 00000B98  2049                     movea.l    A0, A1
  1092. 00000B9A  45EC 00A4                lea.l      A2, [A4 + 0xA4]
  1093. 00000B9E  224A                     movea.l    A1, A2
  1094. 00000BA0  7046                     moveq.l    D0, 0x46
  1095. 00000BA2  A02E                     syscall    BlockMove/BlockMoveData
  1096. label00000BA4:
  1097. 00000BA4  3007                     move.w     D0, D7
  1098. 00000BA6  4CEE 1CE0 FE7A           movem.l    D5,D6,D7,A2,A3,A4, [A6 - 0x186]
  1099. 00000BAC  4E5E                     unlink     A6
  1100. 00000BAE  4E75                     rts
  1101. 00000BB0  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1102. // begin alternate branch 00000BB2-00000BB6
  1103. fn00000BB2:
  1104. 00000BB2  4E56 FFF4                link       A6, -0x000C
  1105. // end alternate branch 00000BB2-00000BB6
  1106. fn00000BB2: // (misaligned)
  1107. 00000BB4  FFF4                     .invalid   <<F/7/7>>
  1108. 00000BB6  48E7 1308                movem.l    -[A7], D3,D6,D7,A4
  1109. 00000BBA  3C2E 000A                move.w     D6, [A6 + 0xA]
  1110. 00000BBE  286E 000C                movea.l    A4, [A6 + 0xC]
  1111. 00000BC2  206C 0170                movea.l    A0, [A4 + 0x170]
  1112. 00000BC6  2050                     movea.l    A0, [A0]
  1113. 00000BC8  3E28 005E                move.w     D7, [A0 + 0x5E]
  1114. 00000BCC  1D46 FFF6                move.b     [A6 - 0xA], D6
  1115. 00000BD0  4A46                     tst.w      D6
  1116. 00000BD2  56C3                     sne        D3
  1117. 00000BD4  4403                     neg.b      D3
  1118. 00000BD6  6704                     beq        +0x6 /* 00000BDC */
  1119. 00000BD8  7020                     moveq.l    D0, 0x20
  1120. 00000BDA  6002                     bra        +0x4 /* 00000BDE */
  1121. label00000BDC:
  1122. 00000BDC  7000                     moveq.l    D0, 0x00
  1123. label00000BDE:
  1124. 00000BDE  5400                     addq.b     D0, 2
  1125. 00000BE0  4880                     ext.w      D0
  1126. 00000BE2  3F00                     move.w     -[A7], D0
  1127. 00000BE4  486E FFF4                pea.l      [A6 - 0xC]
  1128. 00000BE8  7001                     moveq.l    D0, 0x01
  1129. 00000BEA  1F00                     move.b     -[A7], D0
  1130. 00000BEC  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1131. 00000BF0  3F3C 0001                move.w     -[A7], 0x1
  1132. 00000BF4  A83D                     syscall    TEDispatch
  1133. 00000BF6  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1134. 00000BFA  A9D0                     syscall    TECalText
  1135. 00000BFC  206C 0170                movea.l    A0, [A4 + 0x170]
  1136. 00000C00  2050                     movea.l    A0, [A0]
  1137. 00000C02  9E68 005E                sub.w      D7, [A0 + 0x5E]
  1138. 00000C06  7000                     moveq.l    D0, 0x00
  1139. 00000C08  2F00                     move.l     -[A7], D0
  1140. 00000C0A  2F0C                     move.l     -[A7], A4
  1141. 00000C0C  4EBA F45A                jsr        [PC - 0xBA6 /* 00000068 */]
  1142. 00000C10  7000                     moveq.l    D0, 0x00
  1143. 00000C12  2F00                     move.l     -[A7], D0
  1144. 00000C14  4A47                     tst.w      D7
  1145. 00000C16  5EC3                     sgt        D3
  1146. 00000C18  4403                     neg.b      D3
  1147. 00000C1A  4883                     ext.w      D3
  1148. 00000C1C  48C3                     ext.l      D3
  1149. 00000C1E  2F03                     move.l     -[A7], D3
  1150. 00000C20  4A47                     tst.w      D7
  1151. 00000C22  5EC3                     sgt        D3
  1152. 00000C24  4403                     neg.b      D3
  1153. 00000C26  4883                     ext.w      D3
  1154. 00000C28  48C3                     ext.l      D3
  1155. 00000C2A  2F03                     move.l     -[A7], D3
  1156. 00000C2C  2F0C                     move.l     -[A7], A4
  1157. 00000C2E  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1158. 00000C32  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  1159. 00000C38  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1160. 00000C3C  4CEE 10C8 FFE4           movem.l    D3,D6,D7,A4, [A6 - 0x1C]
  1161. 00000C42  4E5E                     unlink     A6
  1162. 00000C44  4E75                     rts
  1163. fn00000C46:
  1164. 00000C46  4E56 FFF4                link       A6, -0x000C
  1165. 00000C4A  48E7 1308                movem.l    -[A7], D3,D6,D7,A4
  1166. 00000C4E  286E 000C                movea.l    A4, [A6 + 0xC]
  1167. 00000C52  4246                     clr.w      D6
  1168. 00000C54  206C 0170                movea.l    A0, [A4 + 0x170]
  1169. 00000C58  2050                     movea.l    A0, [A0]
  1170. 00000C5A  3E28 005E                move.w     D7, [A0 + 0x5E]
  1171. 00000C5E  3D6E 000A FFF8           move.w     [A6 - 0x8], [A6 + 0xA]
  1172. 00000C64  7004                     moveq.l    D0, 0x04
  1173. 00000C66  3F00                     move.w     -[A7], D0
  1174. 00000C68  486E FFF4                pea.l      [A6 - 0xC]
  1175. 00000C6C  7201                     moveq.l    D1, 0x01
  1176. 00000C6E  1F01                     move.b     -[A7], D1
  1177. 00000C70  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1178. 00000C74  3F3C 0001                move.w     -[A7], 0x1
  1179. 00000C78  A83D                     syscall    TEDispatch
  1180. 00000C7A  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1181. 00000C7E  A9D0                     syscall    TECalText
  1182. 00000C80  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1183. 00000C84  4EBA F37A                jsr        [PC - 0xC86 /* 00000000 */]
  1184. 00000C88  0C80 0000 7FFF           cmpi.l     D0, 0x7FFF
  1185. 00000C8E  584F                     addq.w     A7, 4
  1186. 00000C90  6F1E                     ble        +0x20 /* 00000CB0 */
  1187. 00000C92  426E FFF8                clr.w      [A6 - 0x8]
  1188. 00000C96  7004                     moveq.l    D0, 0x04
  1189. 00000C98  3F00                     move.w     -[A7], D0
  1190. 00000C9A  486E FFF4                pea.l      [A6 - 0xC]
  1191. 00000C9E  7201                     moveq.l    D1, 0x01
  1192. 00000CA0  1F01                     move.b     -[A7], D1
  1193. 00000CA2  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1194. 00000CA6  3F3C 0001                move.w     -[A7], 0x1
  1195. 00000CAA  A83D                     syscall    TEDispatch
  1196. 00000CAC  3C3C 00C8                move.w     D6, 0xC8
  1197. label00000CB0:
  1198. 00000CB0  206C 0170                movea.l    A0, [A4 + 0x170]
  1199. 00000CB4  2050                     movea.l    A0, [A0]
  1200. 00000CB6  9E68 005E                sub.w      D7, [A0 + 0x5E]
  1201. 00000CBA  7000                     moveq.l    D0, 0x00
  1202. 00000CBC  2F00                     move.l     -[A7], D0
  1203. 00000CBE  2F0C                     move.l     -[A7], A4
  1204. 00000CC0  4EBA F3A6                jsr        [PC - 0xC5A /* 00000068 */]
  1205. 00000CC4  7000                     moveq.l    D0, 0x00
  1206. 00000CC6  2F00                     move.l     -[A7], D0
  1207. 00000CC8  4A47                     tst.w      D7
  1208. 00000CCA  5EC3                     sgt        D3
  1209. 00000CCC  4403                     neg.b      D3
  1210. 00000CCE  4883                     ext.w      D3
  1211. 00000CD0  48C3                     ext.l      D3
  1212. 00000CD2  2F03                     move.l     -[A7], D3
  1213. 00000CD4  4A47                     tst.w      D7
  1214. 00000CD6  5EC3                     sgt        D3
  1215. 00000CD8  4403                     neg.b      D3
  1216. 00000CDA  4883                     ext.w      D3
  1217. 00000CDC  48C3                     ext.l      D3
  1218. 00000CDE  2F03                     move.l     -[A7], D3
  1219. 00000CE0  2F0C                     move.l     -[A7], A4
  1220. 00000CE2  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1221. 00000CE6  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  1222. 00000CEC  3006                     move.w     D0, D6
  1223. 00000CEE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1224. 00000CF2  4CEE 10C8 FFE4           movem.l    D3,D6,D7,A4, [A6 - 0x1C]
  1225. 00000CF8  4E5E                     unlink     A6
  1226. 00000CFA  4E75                     rts
  1227. 00000CFC  4E56 FFF8                link       A6, -0x0008
  1228. 00000D00  48E7 0018                movem.l    -[A7], A3,A4
  1229. 00000D04  266E 0008                movea.l    A3, [A6 + 0x8]
  1230. 00000D08  286E 000C                movea.l    A4, [A6 + 0xC]
  1231. 00000D0C  41EE FFF8                lea.l      A0, [A6 - 0x8]
  1232. 00000D10  43EC 014E                lea.l      A1, [A4 + 0x14E]
  1233. 00000D14  20D9                     move.l     [A0]+, [A1]+
  1234. 00000D16  20D9                     move.l     [A0]+, [A1]+
  1235. 00000D18  3D6B 0014 FFFC           move.w     [A6 - 0x4], [A3 + 0x14]
  1236. 00000D1E  486E FFF8                pea.l      [A6 - 0x8]
  1237. 00000D22  A8A3                     syscall    EraseRect
  1238. 00000D24  486C 014E                pea.l      [A4 + 0x14E]
  1239. 00000D28  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1240. 00000D2C  A9D3                     syscall    TEUpdate
  1241. 00000D2E  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1242. 00000D32  2F0C                     move.l     -[A7], A4
  1243. 00000D34  4EBA F612                jsr        [PC - 0x9EE /* 00000348 */]
  1244. 00000D38  2F0B                     move.l     -[A7], A3
  1245. 00000D3A  A969                     syscall    DrawControls
  1246. 00000D3C  2F0B                     move.l     -[A7], A3
  1247. 00000D3E  A904                     syscall    DrawGrowIcon
  1248. 00000D40  7000                     moveq.l    D0, 0x00
  1249. 00000D42  4CEE 1800 FFF0           movem.l    A3,A4, [A6 - 0x10]
  1250. 00000D48  4E5E                     unlink     A6
  1251. 00000D4A  4E75                     rts
  1252. 00000D4C  4E56 0000                link       A6, 0
  1253. 00000D50  2F0C                     move.l     -[A7], A4
  1254. 00000D52  286E 000C                movea.l    A4, [A6 + 0xC]
  1255. 00000D56  4AAC 0166                tst.l      [A4 + 0x166]
  1256. 00000D5A  6726                     beq        +0x28 /* 00000D82 */
  1257. 00000D5C  558F                     subq.l     A7, 2
  1258. 00000D5E  2F2C 0166                move.l     -[A7], [A4 + 0x166]
  1259. 00000D62  303C 0007                move.w     D0, 0x7
  1260. 00000D66  AA54                     syscall    TextServicesDispatch
  1261. 00000D68  558F                     subq.l     A7, 2
  1262. 00000D6A  2F2C 0166                move.l     -[A7], [A4 + 0x166]
  1263. 00000D6E  303C 0003                move.w     D0, 0x3
  1264. 00000D72  AA54                     syscall    TextServicesDispatch
  1265. 00000D74  558F                     subq.l     A7, 2
  1266. 00000D76  2F2C 0166                move.l     -[A7], [A4 + 0x166]
  1267. 00000D7A  303C 0001                move.w     D0, 0x1
  1268. 00000D7E  AA54                     syscall    TextServicesDispatch
  1269. 00000D80  5C4F                     addq.w     A7, 6
  1270. label00000D82:
  1271. 00000D82  7001                     moveq.l    D0, 0x01
  1272. 00000D84  2F00                     move.l     -[A7], D0
  1273. 00000D86  4EBA F4BE                jsr        [PC - 0xB42 /* 00000246 */]
  1274. 00000D8A  206C 0174                movea.l    A0, [A4 + 0x174]
  1275. 00000D8E  A023                     syscall    DisposHandle/DisposeHandle
  1276. 00000D90  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1277. 00000D94  A9CD                     syscall    TEDispose
  1278. 00000D96  7000                     moveq.l    D0, 0x00
  1279. 00000D98  584F                     addq.w     A7, 4
  1280. 00000D9A  286E FFFC                movea.l    A4, [A6 - 0x4]
  1281. 00000D9E  4E5E                     unlink     A6
  1282. 00000DA0  4E75                     rts
  1283. 00000DA2  4E56 0000                link       A6, 0
  1284. 00000DA6  2F0C                     move.l     -[A7], A4
  1285. 00000DA8  286E 000C                movea.l    A4, [A6 + 0xC]
  1286. 00000DAC  0CAC 5445 5854 00A0      cmpi.l     [A4 + 0xA0], 0x54455854 /* 'TEXT' */
  1287. 00000DB4  663C                     bne        +0x3E /* 00000DF2 */
  1288. 00000DB6  4A2E 0013                tst.b      [A6 + 0x13]
  1289. 00000DBA  671C                     beq        +0x1E /* 00000DD8 */
  1290. 00000DBC  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1291. 00000DC0  A9D8                     syscall    TEActivate
  1292. 00000DC2  4AAC 0166                tst.l      [A4 + 0x166]
  1293. 00000DC6  672A                     beq        +0x2C /* 00000DF2 */
  1294. 00000DC8  558F                     subq.l     A7, 2
  1295. 00000DCA  2F2C 0166                move.l     -[A7], [A4 + 0x166]
  1296. 00000DCE  303C 0002                move.w     D0, 0x2
  1297. 00000DD2  AA54                     syscall    TextServicesDispatch
  1298. 00000DD4  544F                     addq.w     A7, 2
  1299. 00000DD6  601A                     bra        +0x1C /* 00000DF2 */
  1300. label00000DD8:
  1301. 00000DD8  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1302. 00000DDC  A9D9                     syscall    TEDeactivate
  1303. 00000DDE  4AAC 0166                tst.l      [A4 + 0x166]
  1304. 00000DE2  670E                     beq        +0x10 /* 00000DF2 */
  1305. 00000DE4  558F                     subq.l     A7, 2
  1306. 00000DE6  2F2C 0166                move.l     -[A7], [A4 + 0x166]
  1307. 00000DEA  303C 0003                move.w     D0, 0x3
  1308. 00000DEE  AA54                     syscall    TextServicesDispatch
  1309. 00000DF0  544F                     addq.w     A7, 2
  1310. label00000DF2:
  1311. 00000DF2  7000                     moveq.l    D0, 0x00
  1312. 00000DF4  286E FFFC                movea.l    A4, [A6 - 0x4]
  1313. 00000DF8  4E5E                     unlink     A6
  1314. 00000DFA  4E75                     rts
  1315. 00000DFC  4E56 FFF8                link       A6, -0x0008
  1316. 00000E00  2F0C                     move.l     -[A7], A4
  1317. 00000E02  286E 000C                movea.l    A4, [A6 + 0xC]
  1318. 00000E06  206E 0010                movea.l    A0, [A6 + 0x10]
  1319. 00000E0A  3010                     move.w     D0, [A0]
  1320. 00000E0C  664E                     bne        +0x50 /* 00000E5C */
  1321. 00000E0E  0CAC 5445 5854 00A0      cmpi.l     [A4 + 0xA0], 0x54455854 /* 'TEXT' */
  1322. 00000E16  6612                     bne        +0x14 /* 00000E2A */
  1323. 00000E18  598F                     subq.l     A7, 4
  1324. 00000E1A  A924                     syscall    FrontWindow
  1325. 00000E1C  202E 0008                move.l     D0, [A6 + 0x8]
  1326. 00000E20  B09F                     cmp.l      D0, [A7]+
  1327. 00000E22  6606                     bne        +0x8 /* 00000E2A */
  1328. 00000E24  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1329. 00000E28  A9DA                     syscall    TEIdle
  1330. label00000E2A:
  1331. 00000E2A  4AAD F274                tst.l      [A5 - 0xD8C]
  1332. 00000E2E  672C                     beq        +0x2E /* 00000E5C */
  1333. 00000E30  558F                     subq.l     A7, 2
  1334. 00000E32  2F2D F274                move.l     -[A7], [A5 - 0xD8C]
  1335. 00000E36  2F3C 7374 6174           move.l     -[A7], 0x73746174 /* 'stat' */
  1336. 00000E3C  486E FFF8                pea.l      [A6 - 0x8]
  1337. 00000E40  203C 0658 000C           move.l     D0, 0x658000C
  1338. 00000E46  A800                     syscall    SoundDispatch
  1339. 00000E48  4A5F                     tst.w      [A7]+
  1340. 00000E4A  6610                     bne        +0x12 /* 00000E5C */
  1341. 00000E4C  4A2E FFF8                tst.b      [A6 - 0x8]
  1342. 00000E50  660A                     bne        +0xC /* 00000E5C */
  1343. 00000E52  7001                     moveq.l    D0, 0x01
  1344. 00000E54  2F00                     move.l     -[A7], D0
  1345. 00000E56  4EBA F3EE                jsr        [PC - 0xC12 /* 00000246 */]
  1346. 00000E5A  584F                     addq.w     A7, 4
  1347. label00000E5C:
  1348. 00000E5C  7000                     moveq.l    D0, 0x00
  1349. 00000E5E  286E FFF4                movea.l    A4, [A6 - 0xC]
  1350. 00000E62  4E5E                     unlink     A6
  1351. 00000E64  4E75                     rts
  1352. 00000E66  4E56 0000                link       A6, 0
  1353. 00000E6A  2F0C                     move.l     -[A7], A4
  1354. 00000E6C  286E 000C                movea.l    A4, [A6 + 0xC]
  1355. 00000E70  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  1356. 00000E74  3F2E 0016                move.w     -[A7], [A6 + 0x16]
  1357. 00000E78  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1358. 00000E7C  A9DD                     syscall    TEScroll
  1359. 00000E7E  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1360. 00000E82  2F0C                     move.l     -[A7], A4
  1361. 00000E84  4EBA F4C2                jsr        [PC - 0xB3E /* 00000348 */]
  1362. 00000E88  7064                     moveq.l    D0, 0x64
  1363. 00000E8A  286E FFFC                movea.l    A4, [A6 - 0x4]
  1364. 00000E8E  4E5E                     unlink     A6
  1365. 00000E90  4E75                     rts
  1366. 00000E92  4E56 0000                link       A6, 0
  1367. 00000E96  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  1368. 00000E9A  266E 0008                movea.l    A3, [A6 + 0x8]
  1369. 00000E9E  286E 000C                movea.l    A4, [A6 + 0xC]
  1370. 00000EA2  4246                     clr.w      D6
  1371. 00000EA4  206E 0010                movea.l    A0, [A6 + 0x10]
  1372. 00000EA8  303C 0100                move.w     D0, 0x100
  1373. 00000EAC  C068 000E                and.w      D0, [A0 + 0xE]
  1374. 00000EB0  6600 0108                bne        +0x10A /* 00000FBA */
  1375. 00000EB4  283C 0000 00FF           move.l     D4, 0xFF
  1376. 00000EBA  C8A8 0002                and.l      D4, [A0 + 0x2]
  1377. 00000EBE  2028 0002                move.l     D0, [A0 + 0x2]
  1378. 00000EC2  E080                     asr        D0, 8
  1379. 00000EC4  2A3C 0000 00FF           move.l     D5, 0xFF
  1380. 00000ECA  CA80                     and.l      D5, D0
  1381. 00000ECC  0C04 0008                cmpi.b     D4, 0x8
  1382. 00000ED0  6606                     bne        +0x8 /* 00000ED8 */
  1383. 00000ED2  0C05 0075                cmpi.b     D5, 0x75 /* 'u' */
  1384. 00000ED6  671E                     beq        +0x20 /* 00000EF6 */
  1385. label00000ED8:
  1386. 00000ED8  206C 0170                movea.l    A0, [A4 + 0x170]
  1387. 00000EDC  2050                     movea.l    A0, [A0]
  1388. 00000EDE  3028 003C                move.w     D0, [A0 + 0x3C]
  1389. 00000EE2  48C0                     ext.l      D0
  1390. 00000EE4  5280                     addq.l     D0, 1
  1391. 00000EE6  0C80 0000 7C00           cmpi.l     D0, 0x7C00 /* '|\0' */
  1392. 00000EEC  6F08                     ble        +0xA /* 00000EF6 */
  1393. 00000EEE  3C3C 00C8                move.w     D6, 0xC8
  1394. 00000EF2  6000 00C6                bra        +0xC8 /* 00000FBA */
  1395. label00000EF6:
  1396. 00000EF6  206C 0170                movea.l    A0, [A4 + 0x170]
  1397. 00000EFA  2050                     movea.l    A0, [A0]
  1398. 00000EFC  3E28 005E                move.w     D7, [A0 + 0x5E]
  1399. 00000F00  A856                     syscall    ObscureCursor
  1400. 00000F02  0C05 0075                cmpi.b     D5, 0x75 /* 'u' */
  1401. 00000F06  670C                     beq        +0xE /* 00000F14 */
  1402. 00000F08  4884                     ext.w      D4
  1403. 00000F0A  3F04                     move.w     -[A7], D4
  1404. 00000F0C  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1405. 00000F10  A9DC                     syscall    TEKey
  1406. 00000F12  6056                     bra        +0x58 /* 00000F6A */
  1407. label00000F14:
  1408. 00000F14  206C 0170                movea.l    A0, [A4 + 0x170]
  1409. 00000F18  2050                     movea.l    A0, [A0]
  1410. 00000F1A  226C 0170                movea.l    A1, [A4 + 0x170]
  1411. 00000F1E  2251                     movea.l    A1, [A1]
  1412. 00000F20  3028 0020                move.w     D0, [A0 + 0x20]
  1413. 00000F24  B069 0022                cmp.w      D0, [A1 + 0x22]
  1414. 00000F28  663A                     bne        +0x3C /* 00000F64 */
  1415. 00000F2A  206C 0170                movea.l    A0, [A4 + 0x170]
  1416. 00000F2E  2050                     movea.l    A0, [A0]
  1417. 00000F30  226C 0170                movea.l    A1, [A4 + 0x170]
  1418. 00000F34  2251                     movea.l    A1, [A1]
  1419. 00000F36  3028 0022                move.w     D0, [A0 + 0x22]
  1420. 00000F3A  B069 003C                cmp.w      D0, [A1 + 0x3C]
  1421. 00000F3E  6C24                     bge        +0x26 /* 00000F64 */
  1422. 00000F40  206C 0170                movea.l    A0, [A4 + 0x170]
  1423. 00000F44  2050                     movea.l    A0, [A0]
  1424. 00000F46  3028 0020                move.w     D0, [A0 + 0x20]
  1425. 00000F4A  48C0                     ext.l      D0
  1426. 00000F4C  2F00                     move.l     -[A7], D0
  1427. 00000F4E  206C 0170                movea.l    A0, [A4 + 0x170]
  1428. 00000F52  2050                     movea.l    A0, [A0]
  1429. 00000F54  3028 0022                move.w     D0, [A0 + 0x22]
  1430. 00000F58  48C0                     ext.l      D0
  1431. 00000F5A  5280                     addq.l     D0, 1
  1432. 00000F5C  2F00                     move.l     -[A7], D0
  1433. 00000F5E  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1434. 00000F62  A9D1                     syscall    TESetSelect
  1435. label00000F64:
  1436. 00000F64  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1437. 00000F68  A9D7                     syscall    TEDelete
  1438. label00000F6A:
  1439. 00000F6A  206C 0170                movea.l    A0, [A4 + 0x170]
  1440. 00000F6E  2050                     movea.l    A0, [A0]
  1441. 00000F70  9E68 005E                sub.w      D7, [A0 + 0x5E]
  1442. 00000F74  177C 0001 016A           move.b     [A3 + 0x16A], 0x1
  1443. 00000F7A  7000                     moveq.l    D0, 0x00
  1444. 00000F7C  2F00                     move.l     -[A7], D0
  1445. 00000F7E  2F0C                     move.l     -[A7], A4
  1446. 00000F80  4EBA F0E6                jsr        [PC - 0xF1A /* 00000068 */]
  1447. 00000F84  7000                     moveq.l    D0, 0x00
  1448. 00000F86  2F00                     move.l     -[A7], D0
  1449. 00000F88  4A47                     tst.w      D7
  1450. 00000F8A  5EC3                     sgt        D3
  1451. 00000F8C  4403                     neg.b      D3
  1452. 00000F8E  4883                     ext.w      D3
  1453. 00000F90  48C3                     ext.l      D3
  1454. 00000F92  2F03                     move.l     -[A7], D3
  1455. 00000F94  4A47                     tst.w      D7
  1456. 00000F96  5EC3                     sgt        D3
  1457. 00000F98  4403                     neg.b      D3
  1458. 00000F9A  4883                     ext.w      D3
  1459. 00000F9C  48C3                     ext.l      D3
  1460. 00000F9E  2F03                     move.l     -[A7], D3
  1461. 00000FA0  2F0B                     move.l     -[A7], A3
  1462. 00000FA2  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1463. 00000FA6  422B 016A                clr.b      [A3 + 0x16A]
  1464. 00000FAA  4A2E 0017                tst.b      [A6 + 0x17]
  1465. 00000FAE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1466. 00000FB2  6606                     bne        +0x8 /* 00000FBA */
  1467. 00000FB4  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  1468. label00000FBA:
  1469. 00000FBA  3006                     move.w     D0, D6
  1470. 00000FBC  4CEE 18F8 FFE4           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x1C]
  1471. 00000FC2  4E5E                     unlink     A6
  1472. 00000FC4  4E75                     rts
  1473. 00000FC6  4E56 FFF8                link       A6, -0x0008
  1474. 00000FCA  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  1475. 00000FCE  266E 000C                movea.l    A3, [A6 + 0xC]
  1476. 00000FD2  4247                     clr.w      D7
  1477. 00000FD4  206E 0010                movea.l    A0, [A6 + 0x10]
  1478. 00000FD8  2D68 000A FFF8           move.l     [A6 - 0x8], [A0 + 0xA]
  1479. 00000FDE  486E FFF8                pea.l      [A6 - 0x8]
  1480. 00000FE2  A871                     syscall    GlobalToLocal
  1481. 00000FE4  558F                     subq.l     A7, 2
  1482. 00000FE6  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1483. 00000FEA  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1484. 00000FEE  486E FFFC                pea.l      [A6 - 0x4]
  1485. 00000FF2  A96C                     syscall    FindControl
  1486. 00000FF4  4A5F                     tst.w      [A7]+
  1487. 00000FF6  6650                     bne        +0x52 /* 00001048 */
  1488. 00000FF8  4A2D F17C                tst.b      [A5 - 0xE84]
  1489. 00000FFC  6748                     beq        +0x4A /* 00001046 */
  1490. 00000FFE  598F                     subq.l     A7, 4
  1491. 00001000  A8D8                     syscall    NewRgn
  1492. 00001002  285F                     movea.l    A4, [A7]+
  1493. 00001004  558F                     subq.l     A7, 2
  1494. 00001006  2F0C                     move.l     -[A7], A4
  1495. 00001008  2F2B 0170                move.l     -[A7], [A3 + 0x170]
  1496. 0000100C  3F3C 000F                move.w     -[A7], 0xF
  1497. 00001010  A83D                     syscall    TEDispatch
  1498. 00001012  558F                     subq.l     A7, 2
  1499. 00001014  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1500. 00001018  2F0C                     move.l     -[A7], A4
  1501. 0000101A  A8E8                     syscall    PtInRgn
  1502. 0000101C  4A1F                     tst.b      [A7]+
  1503. 0000101E  544F                     addq.w     A7, 2
  1504. 00001020  671C                     beq        +0x1E /* 0000103E */
  1505. 00001022  2F0C                     move.l     -[A7], A4
  1506. 00001024  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  1507. 00001028  2F0B                     move.l     -[A7], A3
  1508. 0000102A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1509. 0000102E  4EBA 1FCC                jsr        [PC + 0x1FCC /* 00002FFC */]
  1510. 00001032  4A00                     tst.b      D0
  1511. 00001034  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1512. 00001038  6606                     bne        +0x8 /* 00001040 */
  1513. 0000103A  7E64                     moveq.l    D7, 0x64
  1514. 0000103C  6002                     bra        +0x4 /* 00001040 */
  1515. label0000103E:
  1516. 0000103E  7E64                     moveq.l    D7, 0x64
  1517. label00001040:
  1518. 00001040  2F0C                     move.l     -[A7], A4
  1519. 00001042  A8D9                     syscall    DisposRgn/DisposeRgn
  1520. 00001044  6002                     bra        +0x4 /* 00001048 */
  1521. label00001046:
  1522. 00001046  7E64                     moveq.l    D7, 0x64
  1523. label00001048:
  1524. 00001048  0C47 0064                cmpi.w     D7, 0x64 /* 'd' */
  1525. 0000104C  6632                     bne        +0x34 /* 00001080 */
  1526. 0000104E  558F                     subq.l     A7, 2
  1527. 00001050  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1528. 00001054  486B 014E                pea.l      [A3 + 0x14E]
  1529. 00001058  A8AD                     syscall    PtInRect
  1530. 0000105A  4A1F                     tst.b      [A7]+
  1531. 0000105C  6722                     beq        +0x24 /* 00001080 */
  1532. 0000105E  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  1533. 00001062  206E 0010                movea.l    A0, [A6 + 0x10]
  1534. 00001066  303C 0200                move.w     D0, 0x200
  1535. 0000106A  C068 000E                and.w      D0, [A0 + 0xE]
  1536. 0000106E  7200                     moveq.l    D1, 0x00
  1537. 00001070  3200                     move.w     D1, D0
  1538. 00001072  4A81                     tst.l      D1
  1539. 00001074  56C3                     sne        D3
  1540. 00001076  4403                     neg.b      D3
  1541. 00001078  1F03                     move.b     -[A7], D3
  1542. 0000107A  2F2B 0170                move.l     -[A7], [A3 + 0x170]
  1543. 0000107E  A9D4                     syscall    TEClick
  1544. label00001080:
  1545. 00001080  3007                     move.w     D0, D7
  1546. 00001082  4CEE 1888 FFE8           movem.l    D3,D7,A3,A4, [A6 - 0x18]
  1547. 00001088  4E5E                     unlink     A6
  1548. 0000108A  4E75                     rts
  1549. 0000108C  4E56 0000                link       A6, 0
  1550. 00001090  2F0C                     move.l     -[A7], A4
  1551. 00001092  286E 000C                movea.l    A4, [A6 + 0xC]
  1552. 00001096  206E 0010                movea.l    A0, [A6 + 0x10]
  1553. 0000109A  4A10                     tst.b      [A0]
  1554. 0000109C  671A                     beq        +0x1C /* 000010B8 */
  1555. 0000109E  7001                     moveq.l    D0, 0x01
  1556. 000010A0  2F00                     move.l     -[A7], D0
  1557. 000010A2  2F0C                     move.l     -[A7], A4
  1558. 000010A4  4EBA F02C                jsr        [PC - 0xFD4 /* 000000D2 */]
  1559. 000010A8  7001                     moveq.l    D0, 0x01
  1560. 000010AA  2F00                     move.l     -[A7], D0
  1561. 000010AC  2F0C                     move.l     -[A7], A4
  1562. 000010AE  4EBA EFB8                jsr        [PC - 0x1048 /* 00000068 */]
  1563. 000010B2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1564. 000010B6  600C                     bra        +0xE /* 000010C4 */
  1565. label000010B8:
  1566. 000010B8  7000                     moveq.l    D0, 0x00
  1567. 000010BA  2F00                     move.l     -[A7], D0
  1568. 000010BC  2F0C                     move.l     -[A7], A4
  1569. 000010BE  4EBA EFA8                jsr        [PC - 0x1058 /* 00000068 */]
  1570. 000010C2  504F                     addq.w     A7, 8
  1571. label000010C4:
  1572. 000010C4  7000                     moveq.l    D0, 0x00
  1573. 000010C6  286E FFFC                movea.l    A4, [A6 - 0x4]
  1574. 000010CA  4E5E                     unlink     A6
  1575. 000010CC  4E75                     rts
  1576. 000010CE  4E56 FD80                link       A6, -0x0280
  1577. 000010D2  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  1578. 000010D6  2E2E 0014                move.l     D7, [A6 + 0x14]
  1579. 000010DA  266E 0008                movea.l    A3, [A6 + 0x8]
  1580. 000010DE  286E 000C                movea.l    A4, [A6 + 0xC]
  1581. 000010E2  4246                     clr.w      D6
  1582. 000010E4  2F0B                     move.l     -[A7], A3
  1583. 000010E6  A873                     syscall    SetPort
  1584. 000010E8  4AAC 0166                tst.l      [A4 + 0x166]
  1585. 000010EC  6712                     beq        +0x14 /* 00001100 */
  1586. 000010EE  4A87                     tst.l      D7
  1587. 000010F0  670E                     beq        +0x10 /* 00001100 */
  1588. 000010F2  558F                     subq.l     A7, 2
  1589. 000010F4  2F2C 0166                move.l     -[A7], [A4 + 0x166]
  1590. 000010F8  303C 0007                move.w     D0, 0x7
  1591. 000010FC  AA54                     syscall    TextServicesDispatch
  1592. 000010FE  544F                     addq.w     A7, 2
  1593. label00001100:
  1594. 00001100  302E 0012                move.w     D0, [A6 + 0x12]
  1595. 00001104  0440 000D                subi.w     D0, 0xD /* '\r' */
  1596. 00001108  6B00 0652                bmi        +0x654 /* 0000175C */
  1597. 0000110C  0C40 0035                cmpi.w     D0, 0x35 /* '5' */
  1598. 00001110  6E00 064A                bgt        +0x64C /* 0000175C */
  1599. 00001114  D040                     add.w      D0, D0
  1600. 00001116  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  1601. 0000111A  4EFB 0000                jmp        [PC + D0.w]
  1602. 0000111E  024E 0280                andi.w     A6, 0x280
  1603. 00001122  0640 0640                addi.w     D0, 0x640
  1604. 00001126  0640 0640                addi.w     D0, 0x640
  1605. 0000112A  0640 0640                addi.w     D0, 0x640
  1606. 0000112E  006E 00C2 012C           ori.w      [A6 + 0x12C], 0xC2
  1607. 00001134  00D8                     .incomplete
  1608. 00001136  0214 0640                andi.b     [A4], 0x40 /* '@' */
  1609. 0000113A  0640 0640                addi.w     D0, 0x640
  1610. 0000113E  0640 028E                addi.w     D0, 0x28E
  1611. 00001142  0640 0640                addi.w     D0, 0x640
  1612. 00001146  0640 0640                addi.w     D0, 0x640
  1613. 0000114A  0640 0640                addi.w     D0, 0x640
  1614. 0000114E  0640 0640                addi.w     D0, 0x640
  1615. 00001152  0640 039E                addi.w     D0, 0x39E
  1616. 00001156  03B0 03C2 03D4           bclr       [[ + <<invalid base displacement size>>] + 0x3D4], D1
  1617. 0000115C  03E6                     .incomplete
  1618. 0000115E  03F8                     .incomplete
  1619. 00001160  040A 0640                subi.b     A2, 0x40 /* '@' */
  1620. 00001164  0640 0640                addi.w     D0, 0x640
  1621. 00001168  031E                     btst       [A6]+, D1
  1622. 0000116A  032E 033E                btst       [A6 + 0x33E], D1
  1623. 0000116E  034E                     bchg       A6, D1
  1624. 00001170  035E                     bchg       [A6]+, D1
  1625. 00001172  036E 037E                bchg       [A6 + 0x37E], D1
  1626. 00001176  038E                     bclr       A6, D1
  1627. 00001178  0640 0640                addi.w     D0, 0x640
  1628. 0000117C  041C 04A4                subi.b     [A4]+, 0xA4
  1629. 00001180  04C2                     .incomplete
  1630. 00001182  04D8                     .incomplete
  1631. 00001184  0582                     bclr       D2, D2
  1632. 00001186  0640 0590                addi.w     D0, 0x590
  1633. 0000118A  206C 0170                movea.l    A0, [A4 + 0x170]
  1634. 0000118E  2050                     movea.l    A0, [A0]
  1635. 00001190  3A28 005E                move.w     D5, [A0 + 0x5E]
  1636. 00001194  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1637. 00001198  A9D6                     syscall    TECut
  1638. 0000119A  206C 0170                movea.l    A0, [A4 + 0x170]
  1639. 0000119E  2050                     movea.l    A0, [A0]
  1640. 000011A0  9A68 005E                sub.w      D5, [A0 + 0x5E]
  1641. 000011A4  7000                     moveq.l    D0, 0x00
  1642. 000011A6  2F00                     move.l     -[A7], D0
  1643. 000011A8  2F0C                     move.l     -[A7], A4
  1644. 000011AA  4EBA EEBC                jsr        [PC - 0x1144 /* 00000068 */]
  1645. 000011AE  7000                     moveq.l    D0, 0x00
  1646. 000011B0  2F00                     move.l     -[A7], D0
  1647. 000011B2  4A45                     tst.w      D5
  1648. 000011B4  5EC3                     sgt        D3
  1649. 000011B6  4403                     neg.b      D3
  1650. 000011B8  4883                     ext.w      D3
  1651. 000011BA  48C3                     ext.l      D3
  1652. 000011BC  2F03                     move.l     -[A7], D3
  1653. 000011BE  4A45                     tst.w      D5
  1654. 000011C0  5EC3                     sgt        D3
  1655. 000011C2  4403                     neg.b      D3
  1656. 000011C4  4883                     ext.w      D3
  1657. 000011C6  48C3                     ext.l      D3
  1658. 000011C8  2F03                     move.l     -[A7], D3
  1659. 000011CA  2F0B                     move.l     -[A7], A3
  1660. 000011CC  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1661. 000011D0  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  1662. 000011D6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1663. 000011DA  6000 0580                bra        +0x582 /* 0000175C */
  1664. 000011DE  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1665. 000011E2  A9D5                     syscall    TECopy
  1666. 000011E4  7000                     moveq.l    D0, 0x00
  1667. 000011E6  2F00                     move.l     -[A7], D0
  1668. 000011E8  2F0C                     move.l     -[A7], A4
  1669. 000011EA  4EBA EE7C                jsr        [PC - 0x1184 /* 00000068 */]
  1670. 000011EE  504F                     addq.w     A7, 8
  1671. 000011F0  6000 056A                bra        +0x56C /* 0000175C */
  1672. 000011F4  206C 0170                movea.l    A0, [A4 + 0x170]
  1673. 000011F8  2050                     movea.l    A0, [A0]
  1674. 000011FA  3A28 005E                move.w     D5, [A0 + 0x5E]
  1675. 000011FE  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1676. 00001202  A9D7                     syscall    TEDelete
  1677. 00001204  206C 0170                movea.l    A0, [A4 + 0x170]
  1678. 00001208  2050                     movea.l    A0, [A0]
  1679. 0000120A  9A68 005E                sub.w      D5, [A0 + 0x5E]
  1680. 0000120E  7000                     moveq.l    D0, 0x00
  1681. 00001210  2F00                     move.l     -[A7], D0
  1682. 00001212  2F0C                     move.l     -[A7], A4
  1683. 00001214  4EBA EE52                jsr        [PC - 0x11AE /* 00000068 */]
  1684. 00001218  7000                     moveq.l    D0, 0x00
  1685. 0000121A  2F00                     move.l     -[A7], D0
  1686. 0000121C  4A45                     tst.w      D5
  1687. 0000121E  5EC3                     sgt        D3
  1688. 00001220  4403                     neg.b      D3
  1689. 00001222  4883                     ext.w      D3
  1690. 00001224  48C3                     ext.l      D3
  1691. 00001226  2F03                     move.l     -[A7], D3
  1692. 00001228  4A45                     tst.w      D5
  1693. 0000122A  5EC3                     sgt        D3
  1694. 0000122C  4403                     neg.b      D3
  1695. 0000122E  4883                     ext.w      D3
  1696. 00001230  48C3                     ext.l      D3
  1697. 00001232  2F03                     move.l     -[A7], D3
  1698. 00001234  2F0B                     move.l     -[A7], A3
  1699. 00001236  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1700. 0000123A  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  1701. 00001240  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1702. 00001244  6000 0516                bra        +0x518 /* 0000175C */
  1703. 00001248  206C 0170                movea.l    A0, [A4 + 0x170]
  1704. 0000124C  2050                     movea.l    A0, [A0]
  1705. 0000124E  3A28 005E                move.w     D5, [A0 + 0x5E]
  1706. 00001252  558F                     subq.l     A7, 2
  1707. 00001254  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  1708. 00001258  3C1F                     move.w     D6, [A7]+
  1709. 0000125A  6600 0090                bne        +0x92 /* 000012EC */
  1710. 0000125E  206C 0170                movea.l    A0, [A4 + 0x170]
  1711. 00001262  2050                     movea.l    A0, [A0]
  1712. 00001264  3028 003C                move.w     D0, [A0 + 0x3C]
  1713. 00001268  48C0                     ext.l      D0
  1714. 0000126A  7200                     moveq.l    D1, 0x00
  1715. 0000126C  3238 0AB0                move.w     D1, [0x00000AB0 /* TEScrpLength */]
  1716. 00001270  D280                     add.l      D1, D0
  1717. 00001272  206C 0170                movea.l    A0, [A4 + 0x170]
  1718. 00001276  2050                     movea.l    A0, [A0]
  1719. 00001278  3028 0022                move.w     D0, [A0 + 0x22]
  1720. 0000127C  48C0                     ext.l      D0
  1721. 0000127E  206C 0170                movea.l    A0, [A4 + 0x170]
  1722. 00001282  2050                     movea.l    A0, [A0]
  1723. 00001284  3428 0020                move.w     D2, [A0 + 0x20]
  1724. 00001288  48C2                     ext.l      D2
  1725. 0000128A  9082                     sub.l      D0, D2
  1726. 0000128C  9280                     sub.l      D1, D0
  1727. 0000128E  0C81 0000 7C00           cmpi.l     D1, 0x7C00 /* '|\0' */
  1728. 00001294  6F06                     ble        +0x8 /* 0000129C */
  1729. 00001296  3C3C 00C8                move.w     D6, 0xC8
  1730. 0000129A  604A                     bra        +0x4C /* 000012E6 */
  1731. label0000129C:
  1732. 0000129C  598F                     subq.l     A7, 4
  1733. 0000129E  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1734. 000012A2  A9CB                     syscall    TEGetText
  1735. 000012A4  245F                     movea.l    A2, [A7]+
  1736. 000012A6  598F                     subq.l     A7, 4
  1737. 000012A8  2F0A                     move.l     -[A7], A2
  1738. 000012AA  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  1739. 000012AE  281F                     move.l     D4, [A7]+
  1740. 000012B0  7000                     moveq.l    D0, 0x00
  1741. 000012B2  3038 0AB0                move.w     D0, [0x00000AB0 /* TEScrpLength */]
  1742. 000012B6  D084                     add.l      D0, D4
  1743. 000012B8  2D40 FD84                move.l     [A6 - 0x27C], D0
  1744. 000012BC  204A                     movea.l    A0, A2
  1745. 000012BE  202E FD84                move.l     D0, [A6 - 0x27C]
  1746. 000012C2  A024                     syscall    SetHandleSize
  1747. 000012C4  3D78 0220 FD88           move.w     [A6 - 0x278], [0x00000220 /* MemErr */]
  1748. 000012CA  204A                     movea.l    A0, A2
  1749. 000012CC  2004                     move.l     D0, D4
  1750. 000012CE  A024                     syscall    SetHandleSize
  1751. 000012D0  4A6E FD88                tst.w      [A6 - 0x278]
  1752. 000012D4  6706                     beq        +0x8 /* 000012DC */
  1753. 000012D6  3C3C 00C8                move.w     D6, 0xC8
  1754. 000012DA  600A                     bra        +0xC /* 000012E6 */
  1755. label000012DC:
  1756. 000012DC  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1757. 000012E0  3F3C 0000                move.w     -[A7], 0x0
  1758. 000012E4  A83D                     syscall    TEDispatch
  1759. label000012E6:
  1760. 000012E6  598F                     subq.l     A7, 4
  1761. 000012E8  A9FA                     syscall    UnloadScrap/UnlodeScrap
  1762. 000012EA  584F                     addq.w     A7, 4
  1763. label000012EC:
  1764. 000012EC  206C 0170                movea.l    A0, [A4 + 0x170]
  1765. 000012F0  2050                     movea.l    A0, [A0]
  1766. 000012F2  9A68 005E                sub.w      D5, [A0 + 0x5E]
  1767. 000012F6  7000                     moveq.l    D0, 0x00
  1768. 000012F8  2F00                     move.l     -[A7], D0
  1769. 000012FA  2F0C                     move.l     -[A7], A4
  1770. 000012FC  4EBA ED6A                jsr        [PC - 0x1296 /* 00000068 */]
  1771. 00001300  7000                     moveq.l    D0, 0x00
  1772. 00001302  2F00                     move.l     -[A7], D0
  1773. 00001304  4A45                     tst.w      D5
  1774. 00001306  5EC3                     sgt        D3
  1775. 00001308  4403                     neg.b      D3
  1776. 0000130A  4883                     ext.w      D3
  1777. 0000130C  48C3                     ext.l      D3
  1778. 0000130E  2F03                     move.l     -[A7], D3
  1779. 00001310  4A45                     tst.w      D5
  1780. 00001312  5EC3                     sgt        D3
  1781. 00001314  4403                     neg.b      D3
  1782. 00001316  4883                     ext.w      D3
  1783. 00001318  48C3                     ext.l      D3
  1784. 0000131A  2F03                     move.l     -[A7], D3
  1785. 0000131C  2F0B                     move.l     -[A7], A3
  1786. 0000131E  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1787. 00001322  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  1788. 00001328  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1789. 0000132C  6000 042E                bra        +0x430 /* 0000175C */
  1790. 00001330  7000                     moveq.l    D0, 0x00
  1791. 00001332  2F00                     move.l     -[A7], D0
  1792. 00001334  206C 0170                movea.l    A0, [A4 + 0x170]
  1793. 00001338  2050                     movea.l    A0, [A0]
  1794. 0000133A  3228 003C                move.w     D1, [A0 + 0x3C]
  1795. 0000133E  48C1                     ext.l      D1
  1796. 00001340  2F01                     move.l     -[A7], D1
  1797. 00001342  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1798. 00001346  A9D1                     syscall    TESetSelect
  1799. 00001348  7000                     moveq.l    D0, 0x00
  1800. 0000134A  2F00                     move.l     -[A7], D0
  1801. 0000134C  2F0C                     move.l     -[A7], A4
  1802. 0000134E  4EBA ED18                jsr        [PC - 0x12E8 /* 00000068 */]
  1803. 00001352  7000                     moveq.l    D0, 0x00
  1804. 00001354  2F00                     move.l     -[A7], D0
  1805. 00001356  2F00                     move.l     -[A7], D0
  1806. 00001358  2F00                     move.l     -[A7], D0
  1807. 0000135A  2F0B                     move.l     -[A7], A3
  1808. 0000135C  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1809. 00001360  7C64                     moveq.l    D6, 0x64
  1810. 00001362  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1811. 00001366  6000 03F4                bra        +0x3F6 /* 0000175C */
  1812. 0000136A  4A2C 00F0                tst.b      [A4 + 0xF0]
  1813. 0000136E  6710                     beq        +0x12 /* 00001380 */
  1814. 00001370  70FF                     moveq.l    D0, 0xFFFFFFFF
  1815. 00001372  B06C 00EA                cmp.w      D0, [A4 + 0xEA]
  1816. 00001376  6616                     bne        +0x18 /* 0000138E */
  1817. 00001378  70FF                     moveq.l    D0, 0xFFFFFFFF
  1818. 0000137A  B06C 00EC                cmp.w      D0, [A4 + 0xEC]
  1819. 0000137E  660E                     bne        +0x10 /* 0000138E */
  1820. label00001380:
  1821. 00001380  2F0C                     move.l     -[A7], A4
  1822. 00001382  4EBA F5CA                jsr        [PC - 0xA36 /* 0000094E */]
  1823. 00001386  3C00                     move.w     D6, D0
  1824. 00001388  584F                     addq.w     A7, 4
  1825. 0000138A  6000 03D0                bra        +0x3D2 /* 0000175C */
  1826. label0000138E:
  1827. 0000138E  2F0C                     move.l     -[A7], A4
  1828. 00001390  4EBA F11E                jsr        [PC - 0xEE2 /* 000004B0 */]
  1829. 00001394  3C00                     move.w     D6, D0
  1830. 00001396  584F                     addq.w     A7, 4
  1831. 00001398  6000 03C2                bra        +0x3C4 /* 0000175C */
  1832. 0000139C  2F0C                     move.l     -[A7], A4
  1833. 0000139E  4EBA F5AE                jsr        [PC - 0xA52 /* 0000094E */]
  1834. 000013A2  3C00                     move.w     D6, D0
  1835. 000013A4  584F                     addq.w     A7, 4
  1836. 000013A6  6000 03B4                bra        +0x3B6 /* 0000175C */
  1837. 000013AA  206C 0170                movea.l    A0, [A4 + 0x170]
  1838. 000013AE  2050                     movea.l    A0, [A0]
  1839. 000013B0  3A28 005E                move.w     D5, [A0 + 0x5E]
  1840. 000013B4  598F                     subq.l     A7, 4
  1841. 000013B6  2007                     move.l     D0, D7
  1842. 000013B8  4840                     swap.w     D0
  1843. 000013BA  48C0                     ext.l      D0
  1844. 000013BC  3F00                     move.w     -[A7], D0
  1845. 000013BE  A949                     syscall    GetMenuHandle
  1846. 000013C0  203C 0000 FFFF           move.l     D0, 0xFFFF
  1847. 000013C6  C087                     and.l      D0, D7
  1848. 000013C8  3F00                     move.w     -[A7], D0
  1849. 000013CA  486E FEF4                pea.l      [A6 - 0x10C]
  1850. 000013CE  A946                     syscall    GetMenuItemText/GetItem
  1851. 000013D0  486E FEF4                pea.l      [A6 - 0x10C]
  1852. 000013D4  486E FFF4                pea.l      [A6 - 0xC]
  1853. 000013D8  A900                     syscall    GetFNum
  1854. 000013DA  7001                     moveq.l    D0, 0x01
  1855. 000013DC  3F00                     move.w     -[A7], D0
  1856. 000013DE  486E FFF4                pea.l      [A6 - 0xC]
  1857. 000013E2  7201                     moveq.l    D1, 0x01
  1858. 000013E4  1F01                     move.b     -[A7], D1
  1859. 000013E6  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1860. 000013EA  3F3C 0001                move.w     -[A7], 0x1
  1861. 000013EE  A83D                     syscall    TEDispatch
  1862. 000013F0  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  1863. 000013F4  A9D0                     syscall    TECalText
  1864. 000013F6  206C 0170                movea.l    A0, [A4 + 0x170]
  1865. 000013FA  2050                     movea.l    A0, [A0]
  1866. 000013FC  9A68 005E                sub.w      D5, [A0 + 0x5E]
  1867. 00001400  7000                     moveq.l    D0, 0x00
  1868. 00001402  2F00                     move.l     -[A7], D0
  1869. 00001404  2F0C                     move.l     -[A7], A4
  1870. 00001406  4EBA EC60                jsr        [PC - 0x13A0 /* 00000068 */]
  1871. 0000140A  7000                     moveq.l    D0, 0x00
  1872. 0000140C  2F00                     move.l     -[A7], D0
  1873. 0000140E  4A45                     tst.w      D5
  1874. 00001410  5EC3                     sgt        D3
  1875. 00001412  4403                     neg.b      D3
  1876. 00001414  4883                     ext.w      D3
  1877. 00001416  48C3                     ext.l      D3
  1878. 00001418  2F03                     move.l     -[A7], D3
  1879. 0000141A  4A45                     tst.w      D5
  1880. 0000141C  5EC3                     sgt        D3
  1881. 0000141E  4403                     neg.b      D3
  1882. 00001420  4883                     ext.w      D3
  1883. 00001422  48C3                     ext.l      D3
  1884. 00001424  2F03                     move.l     -[A7], D3
  1885. 00001426  2F0B                     move.l     -[A7], A3
  1886. 00001428  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  1887. 0000142C  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  1888. 00001432  4FEF 0018                lea.l      A7, [A7 + 0x18]
  1889. 00001436  6000 0324                bra        +0x326 /* 0000175C */
  1890. 0000143A  2F0C                     move.l     -[A7], A4
  1891. 0000143C  7000                     moveq.l    D0, 0x00
  1892. 0000143E  2F00                     move.l     -[A7], D0
  1893. 00001440  4EBA F770                jsr        [PC - 0x890 /* 00000BB2 */]
  1894. 00001444  504F                     addq.w     A7, 8
  1895. 00001446  6000 0314                bra        +0x316 /* 0000175C */
  1896. 0000144A  2F0C                     move.l     -[A7], A4
  1897. 0000144C  7001                     moveq.l    D0, 0x01
  1898. 0000144E  2F00                     move.l     -[A7], D0
  1899. 00001450  4EBA F760                jsr        [PC - 0x8A0 /* 00000BB2 */]
  1900. 00001454  504F                     addq.w     A7, 8
  1901. 00001456  6000 0304                bra        +0x306 /* 0000175C */
  1902. 0000145A  2F0C                     move.l     -[A7], A4
  1903. 0000145C  7002                     moveq.l    D0, 0x02
  1904. 0000145E  2F00                     move.l     -[A7], D0
  1905. 00001460  4EBA F750                jsr        [PC - 0x8B0 /* 00000BB2 */]
  1906. 00001464  504F                     addq.w     A7, 8
  1907. 00001466  6000 02F4                bra        +0x2F6 /* 0000175C */
  1908. 0000146A  2F0C                     move.l     -[A7], A4
  1909. 0000146C  7004                     moveq.l    D0, 0x04
  1910. 0000146E  2F00                     move.l     -[A7], D0
  1911. 00001470  4EBA F740                jsr        [PC - 0x8C0 /* 00000BB2 */]
  1912. 00001474  504F                     addq.w     A7, 8
  1913. 00001476  6000 02E4                bra        +0x2E6 /* 0000175C */
  1914. 0000147A  2F0C                     move.l     -[A7], A4
  1915. 0000147C  7008                     moveq.l    D0, 0x08
  1916. 0000147E  2F00                     move.l     -[A7], D0
  1917. 00001480  4EBA F730                jsr        [PC - 0x8D0 /* 00000BB2 */]
  1918. 00001484  504F                     addq.w     A7, 8
  1919. 00001486  6000 02D4                bra        +0x2D6 /* 0000175C */
  1920. 0000148A  2F0C                     move.l     -[A7], A4
  1921. 0000148C  7010                     moveq.l    D0, 0x10
  1922. 0000148E  2F00                     move.l     -[A7], D0
  1923. 00001490  4EBA F720                jsr        [PC - 0x8E0 /* 00000BB2 */]
  1924. 00001494  504F                     addq.w     A7, 8
  1925. 00001496  6000 02C4                bra        +0x2C6 /* 0000175C */
  1926. 0000149A  2F0C                     move.l     -[A7], A4
  1927. 0000149C  7020                     moveq.l    D0, 0x20
  1928. 0000149E  2F00                     move.l     -[A7], D0
  1929. 000014A0  4EBA F710                jsr        [PC - 0x8F0 /* 00000BB2 */]
  1930. 000014A4  504F                     addq.w     A7, 8
  1931. 000014A6  6000 02B4                bra        +0x2B6 /* 0000175C */
  1932. 000014AA  2F0C                     move.l     -[A7], A4
  1933. 000014AC  7040                     moveq.l    D0, 0x40
  1934. 000014AE  2F00                     move.l     -[A7], D0
  1935. 000014B0  4EBA F700                jsr        [PC - 0x900 /* 00000BB2 */]
  1936. 000014B4  504F                     addq.w     A7, 8
  1937. 000014B6  6000 02A4                bra        +0x2A6 /* 0000175C */
  1938. 000014BA  2F0C                     move.l     -[A7], A4
  1939. 000014BC  7009                     moveq.l    D0, 0x09
  1940. 000014BE  2F00                     move.l     -[A7], D0
  1941. 000014C0  4EBA F784                jsr        [PC - 0x87C /* 00000C46 */]
  1942. 000014C4  3C00                     move.w     D6, D0
  1943. 000014C6  504F                     addq.w     A7, 8
  1944. 000014C8  6000 0292                bra        +0x294 /* 0000175C */
  1945. 000014CC  2F0C                     move.l     -[A7], A4
  1946. 000014CE  700A                     moveq.l    D0, 0x0A
  1947. 000014D0  2F00                     move.l     -[A7], D0
  1948. 000014D2  4EBA F772                jsr        [PC - 0x88E /* 00000C46 */]
  1949. 000014D6  3C00                     move.w     D6, D0
  1950. 000014D8  504F                     addq.w     A7, 8
  1951. 000014DA  6000 0280                bra        +0x282 /* 0000175C */
  1952. 000014DE  2F0C                     move.l     -[A7], A4
  1953. 000014E0  700C                     moveq.l    D0, 0x0C
  1954. 000014E2  2F00                     move.l     -[A7], D0
  1955. 000014E4  4EBA F760                jsr        [PC - 0x8A0 /* 00000C46 */]
  1956. 000014E8  3C00                     move.w     D6, D0
  1957. 000014EA  504F                     addq.w     A7, 8
  1958. 000014EC  6000 026E                bra        +0x270 /* 0000175C */
  1959. 000014F0  2F0C                     move.l     -[A7], A4
  1960. 000014F2  700E                     moveq.l    D0, 0x0E
  1961. 000014F4  2F00                     move.l     -[A7], D0
  1962. 000014F6  4EBA F74E                jsr        [PC - 0x8B2 /* 00000C46 */]
  1963. 000014FA  3C00                     move.w     D6, D0
  1964. 000014FC  504F                     addq.w     A7, 8
  1965. 000014FE  6000 025C                bra        +0x25E /* 0000175C */
  1966. 00001502  2F0C                     move.l     -[A7], A4
  1967. 00001504  7012                     moveq.l    D0, 0x12
  1968. 00001506  2F00                     move.l     -[A7], D0
  1969. 00001508  4EBA F73C                jsr        [PC - 0x8C4 /* 00000C46 */]
  1970. 0000150C  3C00                     move.w     D6, D0
  1971. 0000150E  504F                     addq.w     A7, 8
  1972. 00001510  6000 024A                bra        +0x24C /* 0000175C */
  1973. 00001514  2F0C                     move.l     -[A7], A4
  1974. 00001516  7018                     moveq.l    D0, 0x18
  1975. 00001518  2F00                     move.l     -[A7], D0
  1976. 0000151A  4EBA F72A                jsr        [PC - 0x8D6 /* 00000C46 */]
  1977. 0000151E  3C00                     move.w     D6, D0
  1978. 00001520  504F                     addq.w     A7, 8
  1979. 00001522  6000 0238                bra        +0x23A /* 0000175C */
  1980. 00001526  2F0C                     move.l     -[A7], A4
  1981. 00001528  7024                     moveq.l    D0, 0x24
  1982. 0000152A  2F00                     move.l     -[A7], D0
  1983. 0000152C  4EBA F718                jsr        [PC - 0x8E8 /* 00000C46 */]
  1984. 00001530  3C00                     move.w     D6, D0
  1985. 00001532  504F                     addq.w     A7, 8
  1986. 00001534  6000 0226                bra        +0x228 /* 0000175C */
  1987. 00001538  203C 0001 6800           move.l     D0, 0x16800
  1988. 0000153E  A122                     syscall    NewHandle, flags=1
  1989. 00001540  2D48 FFFC                move.l     [A6 - 0x4], A0
  1990. 00001544  3C38 0220                move.w     D6, [0x00000220 /* MemErr */]
  1991. 00001548  671C                     beq        +0x1E /* 00001566 */
  1992. 0000154A  203C 0000 1400           move.l     D0, 0x1400
  1993. 00001550  A122                     syscall    NewHandle, flags=1
  1994. 00001552  2D48 FFFC                move.l     [A6 - 0x4], A0
  1995. 00001556  3C38 0220                move.w     D6, [0x00000220 /* MemErr */]
  1996. 0000155A  206E FFFC                movea.l    A0, [A6 - 0x4]
  1997. 0000155E  A023                     syscall    DisposHandle/DisposeHandle
  1998. 00001560  7000                     moveq.l    D0, 0x00
  1999. 00001562  2D40 FFFC                move.l     [A6 - 0x4], D0
  2000. label00001566:
  2001. 00001566  4A46                     tst.w      D6
  2002. 00001568  6600 01F2                bne        +0x1F4 /* 0000175C */
  2003. 0000156C  3D7C 0064 FEF2           move.w     [A6 - 0x10E], 0x64 /* 'd' */
  2004. 00001572  3D7C 0032 FEF0           move.w     [A6 - 0x110], 0x32 /* '2' */
  2005. 00001578  558F                     subq.l     A7, 2
  2006. 0000157A  7000                     moveq.l    D0, 0x00
  2007. 0000157C  2F00                     move.l     -[A7], D0
  2008. 0000157E  2F2E FEF0                move.l     -[A7], [A6 - 0x110]
  2009. 00001582  2F3C 676F 6F64           move.l     -[A7], 0x676F6F64 /* 'good' */
  2010. 00001588  486E FFFC                pea.l      [A6 - 0x4]
  2011. 0000158C  203C 0804 0014           move.l     D0, 0x8040014
  2012. 00001592  A800                     syscall    SoundDispatch
  2013. 00001594  3C1F                     move.w     D6, [A7]+
  2014. 00001596  6614                     bne        +0x16 /* 000015AC */
  2015. 00001598  206C 0174                movea.l    A0, [A4 + 0x174]
  2016. 0000159C  A023                     syscall    DisposHandle/DisposeHandle
  2017. 0000159E  296E FFFC 0174           move.l     [A4 + 0x174], [A6 - 0x4]
  2018. 000015A4  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  2019. 000015AA  6006                     bra        +0x8 /* 000015B2 */
  2020. label000015AC:
  2021. 000015AC  206E FFFC                movea.l    A0, [A6 - 0x4]
  2022. 000015B0  A023                     syscall    DisposHandle/DisposeHandle
  2023. label000015B2:
  2024. 000015B2  0C46 FF80                cmpi.w     D6, 0xFF80
  2025. 000015B6  6600 01A4                bne        +0x1A6 /* 0000175C */
  2026. 000015BA  4246                     clr.w      D6
  2027. 000015BC  6000 019E                bra        +0x1A0 /* 0000175C */
  2028. 000015C0  4AAC 0174                tst.l      [A4 + 0x174]
  2029. 000015C4  6700 0196                beq        +0x198 /* 0000175C */
  2030. 000015C8  558F                     subq.l     A7, 2
  2031. 000015CA  7000                     moveq.l    D0, 0x00
  2032. 000015CC  2F00                     move.l     -[A7], D0
  2033. 000015CE  2F2C 0174                move.l     -[A7], [A4 + 0x174]
  2034. 000015D2  7200                     moveq.l    D1, 0x00
  2035. 000015D4  1F01                     move.b     -[A7], D1
  2036. 000015D6  A805                     syscall    SndPlay
  2037. 000015D8  544F                     addq.w     A7, 2
  2038. 000015DA  6000 0180                bra        +0x182 /* 0000175C */
  2039. 000015DE  206C 0174                movea.l    A0, [A4 + 0x174]
  2040. 000015E2  A023                     syscall    DisposHandle/DisposeHandle
  2041. 000015E4  7000                     moveq.l    D0, 0x00
  2042. 000015E6  2940 0174                move.l     [A4 + 0x174], D0
  2043. 000015EA  197C 0001 00F3           move.b     [A4 + 0xF3], 0x1
  2044. 000015F0  6000 016A                bra        +0x16C /* 0000175C */
  2045. 000015F4  7000                     moveq.l    D0, 0x00
  2046. 000015F6  2F00                     move.l     -[A7], D0
  2047. 000015F8  4EBA EC4C                jsr        [PC - 0x13B4 /* 00000246 */]
  2048. 000015FC  4AAD F274                tst.l      [A5 - 0xD8C]
  2049. 00001600  584F                     addq.w     A7, 4
  2050. 00001602  6614                     bne        +0x16 /* 00001618 */
  2051. 00001604  558F                     subq.l     A7, 2
  2052. 00001606  486D F26C                pea.l      [A5 - 0xD94]
  2053. 0000160A  486D F274                pea.l      [A5 - 0xD8C]
  2054. 0000160E  203C 0418 000C           move.l     D0, 0x418000C
  2055. 00001614  A800                     syscall    SoundDispatch
  2056. 00001616  3C1F                     move.w     D6, [A7]+
  2057. label00001618:
  2058. 00001618  4A46                     tst.w      D6
  2059. 0000161A  6600 0140                bne        +0x142 /* 0000175C */
  2060. 0000161E  206C 0170                movea.l    A0, [A4 + 0x170]
  2061. 00001622  2050                     movea.l    A0, [A0]
  2062. 00001624  226C 0170                movea.l    A1, [A4 + 0x170]
  2063. 00001628  2251                     movea.l    A1, [A1]
  2064. 0000162A  3028 0022                move.w     D0, [A0 + 0x22]
  2065. 0000162E  B069 0020                cmp.w      D0, [A1 + 0x20]
  2066. 00001632  6F14                     ble        +0x16 /* 00001648 */
  2067. 00001634  206C 0170                movea.l    A0, [A4 + 0x170]
  2068. 00001638  2650                     movea.l    A3, [A0]
  2069. 0000163A  3A2B 0022                move.w     D5, [A3 + 0x22]
  2070. 0000163E  9A6B 0020                sub.w      D5, [A3 + 0x20]
  2071. 00001642  382B 0020                move.w     D4, [A3 + 0x20]
  2072. 00001646  600C                     bra        +0xE /* 00001654 */
  2073. label00001648:
  2074. 00001648  206C 0170                movea.l    A0, [A4 + 0x170]
  2075. 0000164C  2050                     movea.l    A0, [A0]
  2076. 0000164E  3A28 003C                move.w     D5, [A0 + 0x3C]
  2077. 00001652  4244                     clr.w      D4
  2078. label00001654:
  2079. 00001654  48C5                     ext.l      D5
  2080. 00001656  2005                     move.l     D0, D5
  2081. 00001658  A11E                     syscall    NewPtr, flags=1
  2082. 0000165A  2B48 F268                move.l     [A5 - 0xD98], A0
  2083. 0000165E  3C38 0220                move.w     D6, [0x00000220 /* MemErr */]
  2084. 00001662  6600 00F8                bne        +0xFA /* 0000175C */
  2085. 00001666  226C 0170                movea.l    A1, [A4 + 0x170]
  2086. 0000166A  2251                     movea.l    A1, [A1]
  2087. 0000166C  2269 003E                movea.l    A1, [A1 + 0x3E]
  2088. 00001670  48C4                     ext.l      D4
  2089. 00001672  2004                     move.l     D0, D4
  2090. 00001674  D091                     add.l      D0, [A1]
  2091. 00001676  2040                     movea.l    A0, D0
  2092. 00001678  226D F268                movea.l    A1, [A5 - 0xD98]
  2093. 0000167C  48C5                     ext.l      D5
  2094. 0000167E  2005                     move.l     D0, D5
  2095. 00001680  A02E                     syscall    BlockMove/BlockMoveData
  2096. 00001682  558F                     subq.l     A7, 2
  2097. 00001684  2F2D F274                move.l     -[A7], [A5 - 0xD8C]
  2098. 00001688  2F2D F268                move.l     -[A7], [A5 - 0xD98]
  2099. 0000168C  48C5                     ext.l      D5
  2100. 0000168E  2F05                     move.l     -[A7], D5
  2101. 00001690  203C 0624 000C           move.l     D0, 0x624000C
  2102. 00001696  A800                     syscall    SoundDispatch
  2103. 00001698  3C1F                     move.w     D6, [A7]+
  2104. 0000169A  6000 00C0                bra        +0xC2 /* 0000175C */
  2105. 0000169E  7001                     moveq.l    D0, 0x01
  2106. 000016A0  2F00                     move.l     -[A7], D0
  2107. 000016A2  4EBA EBA2                jsr        [PC - 0x145E /* 00000246 */]
  2108. 000016A6  584F                     addq.w     A7, 4
  2109. 000016A8  6000 00B2                bra        +0xB4 /* 0000175C */
  2110. 000016AC  598F                     subq.l     A7, 4
  2111. 000016AE  3F3C 0087                move.w     -[A7], 0x87
  2112. 000016B2  A949                     syscall    GetMenuHandle
  2113. 000016B4  265F                     movea.l    A3, [A7]+
  2114. 000016B6  7001                     moveq.l    D0, 0x01
  2115. 000016B8  2F00                     move.l     -[A7], D0
  2116. 000016BA  4EBA EB8A                jsr        [PC - 0x1476 /* 00000246 */]
  2117. 000016BE  2A3C 0000 FFFF           move.l     D5, 0xFFFF
  2118. 000016C4  CA87                     and.l      D5, D7
  2119. 000016C6  2F0B                     move.l     -[A7], A3
  2120. 000016C8  3F05                     move.w     -[A7], D5
  2121. 000016CA  486E FEFE                pea.l      [A6 - 0x102]
  2122. 000016CE  A946                     syscall    GetMenuItemText/GetItem
  2123. 000016D0  558F                     subq.l     A7, 2
  2124. 000016D2  486E FFFE                pea.l      [A6 - 0x2]
  2125. 000016D6  203C 0108 000C           move.l     D0, 0x108000C
  2126. 000016DC  A800                     syscall    SoundDispatch
  2127. 000016DE  4A5F                     tst.w      [A7]+
  2128. 000016E0  584F                     addq.w     A7, 4
  2129. 000016E2  664C                     bne        +0x4E /* 00001730 */
  2130. 000016E4  7E01                     moveq.l    D7, 0x01
  2131. 000016E6  6042                     bra        +0x44 /* 0000172A */
  2132. label000016E8:
  2133. 000016E8  558F                     subq.l     A7, 2
  2134. 000016EA  3F07                     move.w     -[A7], D7
  2135. 000016EC  486E FEF6                pea.l      [A6 - 0x10A]
  2136. 000016F0  203C 030C 000C           move.l     D0, 0x30C000C
  2137. 000016F6  A800                     syscall    SoundDispatch
  2138. 000016F8  4A5F                     tst.w      [A7]+
  2139. 000016FA  662C                     bne        +0x2E /* 00001728 */
  2140. 000016FC  558F                     subq.l     A7, 2
  2141. 000016FE  486E FEF6                pea.l      [A6 - 0x10A]
  2142. 00001702  486E FD8A                pea.l      [A6 - 0x276]
  2143. 00001706  4878 016A                push.l     0x16A
  2144. 0000170A  203C 0610 000C           move.l     D0, 0x610000C
  2145. 00001710  A800                     syscall    SoundDispatch
  2146. 00001712  4A5F                     tst.w      [A7]+
  2147. 00001714  6612                     bne        +0x14 /* 00001728 */
  2148. 00001716  558F                     subq.l     A7, 2
  2149. 00001718  486E FEFE                pea.l      [A6 - 0x102]
  2150. 0000171C  486E FD9A                pea.l      [A6 - 0x266]
  2151. 00001720  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  2152. 00001724  4A5F                     tst.w      [A7]+
  2153. 00001726  6708                     beq        +0xA /* 00001730 */
  2154. label00001728:
  2155. 00001728  5247                     addq.w     D7, 1
  2156. label0000172A:
  2157. 0000172A  BE6E FFFE                cmp.w      D7, [A6 - 0x2]
  2158. 0000172E  6FB8                     ble        -0x46 /* 000016E8 */
  2159. label00001730:
  2160. 00001730  41ED F26C                lea.l      A0, [A5 - 0xD94]
  2161. 00001734  43EE FEF6                lea.l      A1, [A6 - 0x10A]
  2162. 00001738  20D9                     move.l     [A0]+, [A1]+
  2163. 0000173A  20D9                     move.l     [A0]+, [A1]+
  2164. 0000173C  558F                     subq.l     A7, 2
  2165. 0000173E  2F0B                     move.l     -[A7], A3
  2166. 00001740  A950                     syscall    CountMItems
  2167. 00001742  3E1F                     move.w     D7, [A7]+
  2168. 00001744  6010                     bra        +0x12 /* 00001756 */
  2169. label00001746:
  2170. 00001746  2F0B                     move.l     -[A7], A3
  2171. 00001748  3F07                     move.w     -[A7], D7
  2172. 0000174A  BE45                     cmp.w      D7, D5
  2173. 0000174C  57C3                     seq        D3
  2174. 0000174E  4403                     neg.b      D3
  2175. 00001750  1F03                     move.b     -[A7], D3
  2176. 00001752  A945                     syscall    CheckItem
  2177. 00001754  5347                     subq.w     D7, 1
  2178. label00001756:
  2179. 00001756  0C47 0001                cmpi.w     D7, 0x1
  2180. 0000175A  6CEA                     bge        -0x14 /* 00001746 */
  2181. label0000175C:
  2182. 0000175C  3006                     move.w     D0, D6
  2183. 0000175E  4CEE 1CF8 FD60           movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x2A0]
  2184. 00001764  4E5E                     unlink     A6
  2185. 00001766  4E75                     rts
  2186. 00001768  4E56 FDF2                link       A6, -0x020E
  2187. 0000176C  48E7 1718                movem.l    -[A7], D3,D5,D6,D7,A3,A4
  2188. 00001770  47EE FEF4                lea.l      A3, [A6 - 0x10C]
  2189. 00001774  206E 000C                movea.l    A0, [A6 + 0xC]
  2190. 00001778  0CA8 5445 5854 00A0      cmpi.l     [A0 + 0xA0], 0x54455854 /* 'TEXT' */
  2191. 00001780  6600 0418                bne        +0x41A /* 00001B9A */
  2192. 00001784  206E 000C                movea.l    A0, [A6 + 0xC]
  2193. 00001788  2068 0170                movea.l    A0, [A0 + 0x170]
  2194. 0000178C  2050                     movea.l    A0, [A0]
  2195. 0000178E  226E 000C                movea.l    A1, [A6 + 0xC]
  2196. 00001792  2269 0170                movea.l    A1, [A1 + 0x170]
  2197. 00001796  2251                     movea.l    A1, [A1]
  2198. 00001798  3028 0022                move.w     D0, [A0 + 0x22]
  2199. 0000179C  B069 0020                cmp.w      D0, [A1 + 0x20]
  2200. 000017A0  6F1C                     ble        +0x1E /* 000017BE */
  2201. 000017A2  7015                     moveq.l    D0, 0x15
  2202. 000017A4  2F00                     move.l     -[A7], D0
  2203. 000017A6  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2204. 000017AA  7016                     moveq.l    D0, 0x16
  2205. 000017AC  2F00                     move.l     -[A7], D0
  2206. 000017AE  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2207. 000017B2  7018                     moveq.l    D0, 0x18
  2208. 000017B4  2F00                     move.l     -[A7], D0
  2209. 000017B6  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2210. 000017BA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2211. label000017BE:
  2212. 000017BE  558F                     subq.l     A7, 2
  2213. 000017C0  4EAD 013A                jsr        [A5 + 0x13A /* export_35 */]
  2214. 000017C4  7000                     moveq.l    D0, 0x00
  2215. 000017C6  3038 0AB0                move.w     D0, [0x00000AB0 /* TEScrpLength */]
  2216. 000017CA  4A80                     tst.l      D0
  2217. 000017CC  544F                     addq.w     A7, 2
  2218. 000017CE  630A                     bls        +0xC /* 000017DA */
  2219. 000017D0  7017                     moveq.l    D0, 0x17
  2220. 000017D2  2F00                     move.l     -[A7], D0
  2221. 000017D4  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2222. 000017D8  584F                     addq.w     A7, 4
  2223. label000017DA:
  2224. 000017DA  700E                     moveq.l    D0, 0x0E
  2225. 000017DC  2F00                     move.l     -[A7], D0
  2226. 000017DE  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2227. 000017E2  7019                     moveq.l    D0, 0x19
  2228. 000017E4  2F00                     move.l     -[A7], D0
  2229. 000017E6  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2230. 000017EA  701E                     moveq.l    D0, 0x1E
  2231. 000017EC  2F00                     move.l     -[A7], D0
  2232. 000017EE  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2233. 000017F2  3D7C 0001 FDF2           move.w     [A6 - 0x20E], 0x1
  2234. 000017F8  558F                     subq.l     A7, 2
  2235. 000017FA  486E FDF2                pea.l      [A6 - 0x20E]
  2236. 000017FE  486E FFF4                pea.l      [A6 - 0xC]
  2237. 00001802  206E 000C                movea.l    A0, [A6 + 0xC]
  2238. 00001806  2F28 0170                move.l     -[A7], [A0 + 0x170]
  2239. 0000180A  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2240. 0000180E  A83D                     syscall    TEDispatch
  2241. 00001810  1C1F                     move.b     D6, [A7]+
  2242. 00001812  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2243. 00001816  670A                     beq        +0xC /* 00001822 */
  2244. 00001818  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2245. 0000181C  486E FDF4                pea.l      [A6 - 0x20C]
  2246. 00001820  A8FF                     syscall    GetFName/GetFontName
  2247. label00001822:
  2248. 00001822  598F                     subq.l     A7, 4
  2249. 00001824  3F3C 0083                move.w     -[A7], 0x83
  2250. 00001828  A949                     syscall    GetMenuHandle
  2251. 0000182A  285F                     movea.l    A4, [A7]+
  2252. 0000182C  558F                     subq.l     A7, 2
  2253. 0000182E  2F0C                     move.l     -[A7], A4
  2254. 00001830  A950                     syscall    CountMItems
  2255. 00001832  3A1F                     move.w     D5, [A7]+
  2256. 00001834  7E01                     moveq.l    D7, 0x01
  2257. 00001836  6032                     bra        +0x34 /* 0000186A */
  2258. label00001838:
  2259. 00001838  4A06                     tst.b      D6
  2260. 0000183A  6722                     beq        +0x24 /* 0000185E */
  2261. 0000183C  2F0C                     move.l     -[A7], A4
  2262. 0000183E  3F07                     move.w     -[A7], D7
  2263. 00001840  2F0B                     move.l     -[A7], A3
  2264. 00001842  A946                     syscall    GetMenuItemText/GetItem
  2265. 00001844  2F0C                     move.l     -[A7], A4
  2266. 00001846  3F07                     move.w     -[A7], D7
  2267. 00001848  558F                     subq.l     A7, 2
  2268. 0000184A  2F0B                     move.l     -[A7], A3
  2269. 0000184C  486E FDF4                pea.l      [A6 - 0x20C]
  2270. 00001850  7001                     moveq.l    D0, 0x01
  2271. 00001852  1F00                     move.b     -[A7], D0
  2272. 00001854  1F00                     move.b     -[A7], D0
  2273. 00001856  4EAD 00F2                jsr        [A5 + 0xF2 /* export_26 */]
  2274. 0000185A  A945                     syscall    CheckItem
  2275. 0000185C  600A                     bra        +0xC /* 00001868 */
  2276. label0000185E:
  2277. 0000185E  2F0C                     move.l     -[A7], A4
  2278. 00001860  3F07                     move.w     -[A7], D7
  2279. 00001862  7000                     moveq.l    D0, 0x00
  2280. 00001864  1F00                     move.b     -[A7], D0
  2281. 00001866  A945                     syscall    CheckItem
  2282. label00001868:
  2283. 00001868  5247                     addq.w     D7, 1
  2284. label0000186A:
  2285. 0000186A  BA47                     cmp.w      D5, D7
  2286. 0000186C  6CCA                     bge        -0x34 /* 00001838 */
  2287. 0000186E  4247                     clr.w      D7
  2288. 00001870  3D7C 0004 FFF2           move.w     [A6 - 0xE], 0x4
  2289. 00001876  558F                     subq.l     A7, 2
  2290. 00001878  486E FFF2                pea.l      [A6 - 0xE]
  2291. 0000187C  486E FFF4                pea.l      [A6 - 0xC]
  2292. 00001880  206E 000C                movea.l    A0, [A6 + 0xC]
  2293. 00001884  2F28 0170                move.l     -[A7], [A0 + 0x170]
  2294. 00001888  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2295. 0000188C  A83D                     syscall    TEDispatch
  2296. 0000188E  4A1F                     tst.b      [A7]+
  2297. 00001890  6714                     beq        +0x16 /* 000018A6 */
  2298. 00001892  3E2E FFF8                move.w     D7, [A6 - 0x8]
  2299. 00001896  660E                     bne        +0x10 /* 000018A6 */
  2300. 00001898  558F                     subq.l     A7, 2
  2301. 0000189A  3EB8 0BA8                move.w     [A7], [0x00000BA8 /* DefFontSize */]
  2302. 0000189E  6604                     bne        +0x6 /* 000018A4 */
  2303. 000018A0  3EBC 000C                move.w     [A7], 0xC
  2304. label000018A4:
  2305. 000018A4  3E1F                     move.w     D7, [A7]+
  2306. label000018A6:
  2307. 000018A6  3D7C 0001 FFF2           move.w     [A6 - 0xE], 0x1
  2308. 000018AC  558F                     subq.l     A7, 2
  2309. 000018AE  486E FFF2                pea.l      [A6 - 0xE]
  2310. 000018B2  486E FFF4                pea.l      [A6 - 0xC]
  2311. 000018B6  206E 000C                movea.l    A0, [A6 + 0xC]
  2312. 000018BA  2F28 0170                move.l     -[A7], [A0 + 0x170]
  2313. 000018BE  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2314. 000018C2  A83D                     syscall    TEDispatch
  2315. 000018C4  1A1F                     move.b     D5, [A7]+
  2316. 000018C6  558F                     subq.l     A7, 2
  2317. 000018C8  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2318. 000018CC  7009                     moveq.l    D0, 0x09
  2319. 000018CE  3F00                     move.w     -[A7], D0
  2320. 000018D0  A902                     syscall    RealFont
  2321. 000018D2  101F                     move.b     D0, [A7]+
  2322. 000018D4  C005                     and.b      D0, D5
  2323. 000018D6  6704                     beq        +0x6 /* 000018DC */
  2324. 000018D8  7008                     moveq.l    D0, 0x08
  2325. 000018DA  6002                     bra        +0x4 /* 000018DE */
  2326. label000018DC:
  2327. 000018DC  7000                     moveq.l    D0, 0x00
  2328. label000018DE:
  2329. 000018DE  2F00                     move.l     -[A7], D0
  2330. 000018E0  0C47 0009                cmpi.w     D7, 0x9 /* '\t' */
  2331. 000018E4  57C3                     seq        D3
  2332. 000018E6  4403                     neg.b      D3
  2333. 000018E8  4883                     ext.w      D3
  2334. 000018EA  48C3                     ext.l      D3
  2335. 000018EC  2F03                     move.l     -[A7], D3
  2336. 000018EE  7028                     moveq.l    D0, 0x28
  2337. 000018F0  2F00                     move.l     -[A7], D0
  2338. 000018F2  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  2339. 000018F6  558F                     subq.l     A7, 2
  2340. 000018F8  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2341. 000018FC  700A                     moveq.l    D0, 0x0A
  2342. 000018FE  3F00                     move.w     -[A7], D0
  2343. 00001900  A902                     syscall    RealFont
  2344. 00001902  101F                     move.b     D0, [A7]+
  2345. 00001904  C005                     and.b      D0, D5
  2346. 00001906  6704                     beq        +0x6 /* 0000190C */
  2347. 00001908  7008                     moveq.l    D0, 0x08
  2348. 0000190A  6002                     bra        +0x4 /* 0000190E */
  2349. label0000190C:
  2350. 0000190C  7000                     moveq.l    D0, 0x00
  2351. label0000190E:
  2352. 0000190E  2F00                     move.l     -[A7], D0
  2353. 00001910  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  2354. 00001914  57C3                     seq        D3
  2355. 00001916  4403                     neg.b      D3
  2356. 00001918  4883                     ext.w      D3
  2357. 0000191A  48C3                     ext.l      D3
  2358. 0000191C  2F03                     move.l     -[A7], D3
  2359. 0000191E  7029                     moveq.l    D0, 0x29
  2360. 00001920  2F00                     move.l     -[A7], D0
  2361. 00001922  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  2362. 00001926  558F                     subq.l     A7, 2
  2363. 00001928  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2364. 0000192C  700C                     moveq.l    D0, 0x0C
  2365. 0000192E  3F00                     move.w     -[A7], D0
  2366. 00001930  A902                     syscall    RealFont
  2367. 00001932  101F                     move.b     D0, [A7]+
  2368. 00001934  C005                     and.b      D0, D5
  2369. 00001936  6704                     beq        +0x6 /* 0000193C */
  2370. 00001938  7008                     moveq.l    D0, 0x08
  2371. 0000193A  6002                     bra        +0x4 /* 0000193E */
  2372. label0000193C:
  2373. 0000193C  7000                     moveq.l    D0, 0x00
  2374. label0000193E:
  2375. 0000193E  2F00                     move.l     -[A7], D0
  2376. 00001940  0C47 000C                cmpi.w     D7, 0xC
  2377. 00001944  57C3                     seq        D3
  2378. 00001946  4403                     neg.b      D3
  2379. 00001948  4883                     ext.w      D3
  2380. 0000194A  48C3                     ext.l      D3
  2381. 0000194C  2F03                     move.l     -[A7], D3
  2382. 0000194E  702A                     moveq.l    D0, 0x2A
  2383. 00001950  2F00                     move.l     -[A7], D0
  2384. 00001952  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  2385. 00001956  558F                     subq.l     A7, 2
  2386. 00001958  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2387. 0000195C  700E                     moveq.l    D0, 0x0E
  2388. 0000195E  3F00                     move.w     -[A7], D0
  2389. 00001960  A902                     syscall    RealFont
  2390. 00001962  101F                     move.b     D0, [A7]+
  2391. 00001964  C005                     and.b      D0, D5
  2392. 00001966  6704                     beq        +0x6 /* 0000196C */
  2393. 00001968  7008                     moveq.l    D0, 0x08
  2394. 0000196A  6002                     bra        +0x4 /* 0000196E */
  2395. label0000196C:
  2396. 0000196C  7000                     moveq.l    D0, 0x00
  2397. label0000196E:
  2398. 0000196E  2F00                     move.l     -[A7], D0
  2399. 00001970  0C47 000E                cmpi.w     D7, 0xE
  2400. 00001974  57C3                     seq        D3
  2401. 00001976  4403                     neg.b      D3
  2402. 00001978  4883                     ext.w      D3
  2403. 0000197A  48C3                     ext.l      D3
  2404. 0000197C  2F03                     move.l     -[A7], D3
  2405. 0000197E  702B                     moveq.l    D0, 0x2B
  2406. 00001980  2F00                     move.l     -[A7], D0
  2407. 00001982  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  2408. 00001986  558F                     subq.l     A7, 2
  2409. 00001988  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2410. 0000198C  7012                     moveq.l    D0, 0x12
  2411. 0000198E  3F00                     move.w     -[A7], D0
  2412. 00001990  A902                     syscall    RealFont
  2413. 00001992  101F                     move.b     D0, [A7]+
  2414. 00001994  C005                     and.b      D0, D5
  2415. 00001996  6704                     beq        +0x6 /* 0000199C */
  2416. 00001998  7008                     moveq.l    D0, 0x08
  2417. 0000199A  6002                     bra        +0x4 /* 0000199E */
  2418. label0000199C:
  2419. 0000199C  7000                     moveq.l    D0, 0x00
  2420. label0000199E:
  2421. 0000199E  2F00                     move.l     -[A7], D0
  2422. 000019A0  0C47 0012                cmpi.w     D7, 0x12
  2423. 000019A4  57C3                     seq        D3
  2424. 000019A6  4403                     neg.b      D3
  2425. 000019A8  4883                     ext.w      D3
  2426. 000019AA  48C3                     ext.l      D3
  2427. 000019AC  2F03                     move.l     -[A7], D3
  2428. 000019AE  702C                     moveq.l    D0, 0x2C
  2429. 000019B0  2F00                     move.l     -[A7], D0
  2430. 000019B2  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  2431. 000019B6  558F                     subq.l     A7, 2
  2432. 000019B8  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2433. 000019BC  7018                     moveq.l    D0, 0x18
  2434. 000019BE  3F00                     move.w     -[A7], D0
  2435. 000019C0  A902                     syscall    RealFont
  2436. 000019C2  101F                     move.b     D0, [A7]+
  2437. 000019C4  C005                     and.b      D0, D5
  2438. 000019C6  6704                     beq        +0x6 /* 000019CC */
  2439. 000019C8  7008                     moveq.l    D0, 0x08
  2440. 000019CA  6002                     bra        +0x4 /* 000019CE */
  2441. label000019CC:
  2442. 000019CC  7000                     moveq.l    D0, 0x00
  2443. label000019CE:
  2444. 000019CE  2F00                     move.l     -[A7], D0
  2445. 000019D0  0C47 0018                cmpi.w     D7, 0x18
  2446. 000019D4  57C3                     seq        D3
  2447. 000019D6  4403                     neg.b      D3
  2448. 000019D8  4883                     ext.w      D3
  2449. 000019DA  48C3                     ext.l      D3
  2450. 000019DC  2F03                     move.l     -[A7], D3
  2451. 000019DE  702D                     moveq.l    D0, 0x2D
  2452. 000019E0  2F00                     move.l     -[A7], D0
  2453. 000019E2  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  2454. 000019E6  558F                     subq.l     A7, 2
  2455. 000019E8  3F2E FFF4                move.w     -[A7], [A6 - 0xC]
  2456. 000019EC  7024                     moveq.l    D0, 0x24
  2457. 000019EE  3F00                     move.w     -[A7], D0
  2458. 000019F0  A902                     syscall    RealFont
  2459. 000019F2  101F                     move.b     D0, [A7]+
  2460. 000019F4  C005                     and.b      D0, D5
  2461. 000019F6  6704                     beq        +0x6 /* 000019FC */
  2462. 000019F8  7008                     moveq.l    D0, 0x08
  2463. 000019FA  6002                     bra        +0x4 /* 000019FE */
  2464. label000019FC:
  2465. 000019FC  7000                     moveq.l    D0, 0x00
  2466. label000019FE:
  2467. 000019FE  2F00                     move.l     -[A7], D0
  2468. 00001A00  0C47 0024                cmpi.w     D7, 0x24 /* '$' */
  2469. 00001A04  57C3                     seq        D3
  2470. 00001A06  4403                     neg.b      D3
  2471. 00001A08  4883                     ext.w      D3
  2472. 00001A0A  48C3                     ext.l      D3
  2473. 00001A0C  2F03                     move.l     -[A7], D3
  2474. 00001A0E  702E                     moveq.l    D0, 0x2E
  2475. 00001A10  2F00                     move.l     -[A7], D0
  2476. 00001A12  4EAD 006A                jsr        [A5 + 0x6A /* export_9 */]
  2477. 00001A16  3D7C 0002 FFF2           move.w     [A6 - 0xE], 0x2
  2478. 00001A1C  558F                     subq.l     A7, 2
  2479. 00001A1E  486E FFF2                pea.l      [A6 - 0xE]
  2480. 00001A22  486E FFF4                pea.l      [A6 - 0xC]
  2481. 00001A26  206E 000C                movea.l    A0, [A6 + 0xC]
  2482. 00001A2A  2F28 0170                move.l     -[A7], [A0 + 0x170]
  2483. 00001A2E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  2484. 00001A32  A83D                     syscall    TEDispatch
  2485. 00001A34  4A1F                     tst.b      [A7]+
  2486. 00001A36  4FEF 0054                lea.l      A7, [A7 + 0x54]
  2487. 00001A3A  6614                     bne        +0x16 /* 00001A50 */
  2488. 00001A3C  422E FFF6                clr.b      [A6 - 0xA]
  2489. 00001A40  7000                     moveq.l    D0, 0x00
  2490. 00001A42  2F00                     move.l     -[A7], D0
  2491. 00001A44  7232                     moveq.l    D1, 0x32
  2492. 00001A46  2F01                     move.l     -[A7], D1
  2493. 00001A48  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2494. 00001A4C  504F                     addq.w     A7, 8
  2495. 00001A4E  601C                     bra        +0x1E /* 00001A6C */
  2496. label00001A50:
  2497. 00001A50  7000                     moveq.l    D0, 0x00
  2498. 00001A52  102E FFF6                move.b     D0, [A6 - 0xA]
  2499. 00001A56  4A80                     tst.l      D0
  2500. 00001A58  57C3                     seq        D3
  2501. 00001A5A  4403                     neg.b      D3
  2502. 00001A5C  4883                     ext.w      D3
  2503. 00001A5E  48C3                     ext.l      D3
  2504. 00001A60  2F03                     move.l     -[A7], D3
  2505. 00001A62  7032                     moveq.l    D0, 0x32
  2506. 00001A64  2F00                     move.l     -[A7], D0
  2507. 00001A66  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2508. 00001A6A  504F                     addq.w     A7, 8
  2509. label00001A6C:
  2510. 00001A6C  598F                     subq.l     A7, 4
  2511. 00001A6E  598F                     subq.l     A7, 4
  2512. 00001A70  7016                     moveq.l    D0, 0x16
  2513. 00001A72  3F00                     move.w     -[A7], D0
  2514. 00001A74  2F3C 8402 0008           move.l     -[A7], 0x84020008
  2515. 00001A7A  A8B5                     syscall    ScriptUtil
  2516. 00001A7C  201F                     move.l     D0, [A7]+
  2517. 00001A7E  3F00                     move.w     -[A7], D0
  2518. 00001A80  705A                     moveq.l    D0, 0x5A
  2519. 00001A82  3F00                     move.w     -[A7], D0
  2520. 00001A84  2F3C 8404 000C           move.l     -[A7], 0x8404000C
  2521. 00001A8A  A8B5                     syscall    ScriptUtil
  2522. 00001A8C  201F                     move.l     D0, [A7]+
  2523. 00001A8E  1E00                     move.b     D7, D0
  2524. 00001A90  7000                     moveq.l    D0, 0x00
  2525. 00001A92  1007                     move.b     D0, D7
  2526. 00001A94  4A80                     tst.l      D0
  2527. 00001A96  6604                     bne        +0x6 /* 00001A9C */
  2528. 00001A98  1E3C 00FF                move.b     D7, 0xFF
  2529. label00001A9C:
  2530. 00001A9C  7000                     moveq.l    D0, 0x00
  2531. 00001A9E  1007                     move.b     D0, D7
  2532. 00001AA0  4A80                     tst.l      D0
  2533. 00001AA2  0800 0000                btst.b     D0, 0x0
  2534. 00001AA6  671A                     beq        +0x1C /* 00001AC2 */
  2535. 00001AA8  7000                     moveq.l    D0, 0x00
  2536. 00001AAA  102E FFF6                move.b     D0, [A6 - 0xA]
  2537. 00001AAE  7201                     moveq.l    D1, 0x01
  2538. 00001AB0  C200                     and.b      D1, D0
  2539. 00001AB2  7000                     moveq.l    D0, 0x00
  2540. 00001AB4  1001                     move.b     D0, D1
  2541. 00001AB6  2F00                     move.l     -[A7], D0
  2542. 00001AB8  7033                     moveq.l    D0, 0x33
  2543. 00001ABA  2F00                     move.l     -[A7], D0
  2544. 00001ABC  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2545. 00001AC0  504F                     addq.w     A7, 8
  2546. label00001AC2:
  2547. 00001AC2  7000                     moveq.l    D0, 0x00
  2548. 00001AC4  1007                     move.b     D0, D7
  2549. 00001AC6  7202                     moveq.l    D1, 0x02
  2550. 00001AC8  C200                     and.b      D1, D0
  2551. 00001ACA  671A                     beq        +0x1C /* 00001AE6 */
  2552. 00001ACC  7000                     moveq.l    D0, 0x00
  2553. 00001ACE  102E FFF6                move.b     D0, [A6 - 0xA]
  2554. 00001AD2  7202                     moveq.l    D1, 0x02
  2555. 00001AD4  C200                     and.b      D1, D0
  2556. 00001AD6  7000                     moveq.l    D0, 0x00
  2557. 00001AD8  1001                     move.b     D0, D1
  2558. 00001ADA  2F00                     move.l     -[A7], D0
  2559. 00001ADC  7034                     moveq.l    D0, 0x34
  2560. 00001ADE  2F00                     move.l     -[A7], D0
  2561. 00001AE0  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2562. 00001AE4  504F                     addq.w     A7, 8
  2563. label00001AE6:
  2564. 00001AE6  7000                     moveq.l    D0, 0x00
  2565. 00001AE8  1007                     move.b     D0, D7
  2566. 00001AEA  7204                     moveq.l    D1, 0x04
  2567. 00001AEC  C200                     and.b      D1, D0
  2568. 00001AEE  671A                     beq        +0x1C /* 00001B0A */
  2569. 00001AF0  7000                     moveq.l    D0, 0x00
  2570. 00001AF2  102E FFF6                move.b     D0, [A6 - 0xA]
  2571. 00001AF6  7204                     moveq.l    D1, 0x04
  2572. 00001AF8  C200                     and.b      D1, D0
  2573. 00001AFA  7000                     moveq.l    D0, 0x00
  2574. 00001AFC  1001                     move.b     D0, D1
  2575. 00001AFE  2F00                     move.l     -[A7], D0
  2576. 00001B00  7035                     moveq.l    D0, 0x35
  2577. 00001B02  2F00                     move.l     -[A7], D0
  2578. 00001B04  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2579. 00001B08  504F                     addq.w     A7, 8
  2580. label00001B0A:
  2581. 00001B0A  7000                     moveq.l    D0, 0x00
  2582. 00001B0C  1007                     move.b     D0, D7
  2583. 00001B0E  7208                     moveq.l    D1, 0x08
  2584. 00001B10  C200                     and.b      D1, D0
  2585. 00001B12  671A                     beq        +0x1C /* 00001B2E */
  2586. 00001B14  7000                     moveq.l    D0, 0x00
  2587. 00001B16  102E FFF6                move.b     D0, [A6 - 0xA]
  2588. 00001B1A  7208                     moveq.l    D1, 0x08
  2589. 00001B1C  C200                     and.b      D1, D0
  2590. 00001B1E  7000                     moveq.l    D0, 0x00
  2591. 00001B20  1001                     move.b     D0, D1
  2592. 00001B22  2F00                     move.l     -[A7], D0
  2593. 00001B24  7036                     moveq.l    D0, 0x36
  2594. 00001B26  2F00                     move.l     -[A7], D0
  2595. 00001B28  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2596. 00001B2C  504F                     addq.w     A7, 8
  2597. label00001B2E:
  2598. 00001B2E  7000                     moveq.l    D0, 0x00
  2599. 00001B30  1007                     move.b     D0, D7
  2600. 00001B32  7210                     moveq.l    D1, 0x10
  2601. 00001B34  C200                     and.b      D1, D0
  2602. 00001B36  671A                     beq        +0x1C /* 00001B52 */
  2603. 00001B38  7000                     moveq.l    D0, 0x00
  2604. 00001B3A  102E FFF6                move.b     D0, [A6 - 0xA]
  2605. 00001B3E  7210                     moveq.l    D1, 0x10
  2606. 00001B40  C200                     and.b      D1, D0
  2607. 00001B42  7000                     moveq.l    D0, 0x00
  2608. 00001B44  1001                     move.b     D0, D1
  2609. 00001B46  2F00                     move.l     -[A7], D0
  2610. 00001B48  7037                     moveq.l    D0, 0x37
  2611. 00001B4A  2F00                     move.l     -[A7], D0
  2612. 00001B4C  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2613. 00001B50  504F                     addq.w     A7, 8
  2614. label00001B52:
  2615. 00001B52  7000                     moveq.l    D0, 0x00
  2616. 00001B54  1007                     move.b     D0, D7
  2617. 00001B56  7220                     moveq.l    D1, 0x20
  2618. 00001B58  C200                     and.b      D1, D0
  2619. 00001B5A  671A                     beq        +0x1C /* 00001B76 */
  2620. 00001B5C  7000                     moveq.l    D0, 0x00
  2621. 00001B5E  102E FFF6                move.b     D0, [A6 - 0xA]
  2622. 00001B62  7220                     moveq.l    D1, 0x20
  2623. 00001B64  C200                     and.b      D1, D0
  2624. 00001B66  7000                     moveq.l    D0, 0x00
  2625. 00001B68  1001                     move.b     D0, D1
  2626. 00001B6A  2F00                     move.l     -[A7], D0
  2627. 00001B6C  7038                     moveq.l    D0, 0x38
  2628. 00001B6E  2F00                     move.l     -[A7], D0
  2629. 00001B70  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2630. 00001B74  504F                     addq.w     A7, 8
  2631. label00001B76:
  2632. 00001B76  7000                     moveq.l    D0, 0x00
  2633. 00001B78  1007                     move.b     D0, D7
  2634. 00001B7A  7240                     moveq.l    D1, 0x40
  2635. 00001B7C  C200                     and.b      D1, D0
  2636. 00001B7E  671A                     beq        +0x1C /* 00001B9A */
  2637. 00001B80  7000                     moveq.l    D0, 0x00
  2638. 00001B82  102E FFF6                move.b     D0, [A6 - 0xA]
  2639. 00001B86  7240                     moveq.l    D1, 0x40
  2640. 00001B88  C200                     and.b      D1, D0
  2641. 00001B8A  7000                     moveq.l    D0, 0x00
  2642. 00001B8C  1001                     move.b     D0, D1
  2643. 00001B8E  2F00                     move.l     -[A7], D0
  2644. 00001B90  7039                     moveq.l    D0, 0x39
  2645. 00001B92  2F00                     move.l     -[A7], D0
  2646. 00001B94  4EAD 0062                jsr        [A5 + 0x62 /* export_8 */]
  2647. 00001B98  504F                     addq.w     A7, 8
  2648. label00001B9A:
  2649. 00001B9A  4A2D F178                tst.b      [A5 - 0xE88]
  2650. 00001B9E  6774                     beq        +0x76 /* 00001C14 */
  2651. 00001BA0  4AAD F274                tst.l      [A5 - 0xD8C]
  2652. 00001BA4  670A                     beq        +0xC /* 00001BB0 */
  2653. 00001BA6  7040                     moveq.l    D0, 0x40
  2654. 00001BA8  2F00                     move.l     -[A7], D0
  2655. 00001BAA  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2656. 00001BAE  584F                     addq.w     A7, 4
  2657. label00001BB0:
  2658. 00001BB0  703F                     moveq.l    D0, 0x3F
  2659. 00001BB2  2F00                     move.l     -[A7], D0
  2660. 00001BB4  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2661. 00001BB8  7041                     moveq.l    D0, 0x41
  2662. 00001BBA  2F00                     move.l     -[A7], D0
  2663. 00001BBC  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2664. 00001BC0  7042                     moveq.l    D0, 0x42
  2665. 00001BC2  2F00                     move.l     -[A7], D0
  2666. 00001BC4  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2667. 00001BC8  206E 000C                movea.l    A0, [A6 + 0xC]
  2668. 00001BCC  2068 0170                movea.l    A0, [A0 + 0x170]
  2669. 00001BD0  2050                     movea.l    A0, [A0]
  2670. 00001BD2  226E 000C                movea.l    A1, [A6 + 0xC]
  2671. 00001BD6  2269 0170                movea.l    A1, [A1 + 0x170]
  2672. 00001BDA  2251                     movea.l    A1, [A1]
  2673. 00001BDC  3028 0022                move.w     D0, [A0 + 0x22]
  2674. 00001BE0  B069 0020                cmp.w      D0, [A1 + 0x20]
  2675. 00001BE4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2676. 00001BE8  6F16                     ble        +0x18 /* 00001C00 */
  2677. 00001BEA  7001                     moveq.l    D0, 0x01
  2678. 00001BEC  2F00                     move.l     -[A7], D0
  2679. 00001BEE  4878 0258                push.l     0x258
  2680. 00001BF2  723F                     moveq.l    D1, 0x3F
  2681. 00001BF4  2F01                     move.l     -[A7], D1
  2682. 00001BF6  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  2683. 00001BFA  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2684. 00001BFE  6014                     bra        +0x16 /* 00001C14 */
  2685. label00001C00:
  2686. 00001C00  7002                     moveq.l    D0, 0x02
  2687. 00001C02  2F00                     move.l     -[A7], D0
  2688. 00001C04  4878 0258                push.l     0x258
  2689. 00001C08  723F                     moveq.l    D1, 0x3F
  2690. 00001C0A  2F01                     move.l     -[A7], D1
  2691. 00001C0C  4EAD 005A                jsr        [A5 + 0x5A /* export_7 */]
  2692. 00001C10  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2693. label00001C14:
  2694. 00001C14  206E 000C                movea.l    A0, [A6 + 0xC]
  2695. 00001C18  4AA8 0174                tst.l      [A0 + 0x174]
  2696. 00001C1C  670A                     beq        +0xC /* 00001C28 */
  2697. 00001C1E  703D                     moveq.l    D0, 0x3D
  2698. 00001C20  2F00                     move.l     -[A7], D0
  2699. 00001C22  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2700. 00001C26  584F                     addq.w     A7, 4
  2701. label00001C28:
  2702. 00001C28  206E 000C                movea.l    A0, [A6 + 0xC]
  2703. 00001C2C  0CA8 5445 5854 00A0      cmpi.l     [A0 + 0xA0], 0x54455854 /* 'TEXT' */
  2704. 00001C34  6626                     bne        +0x28 /* 00001C5C */
  2705. 00001C36  206E 000C                movea.l    A0, [A6 + 0xC]
  2706. 00001C3A  4AA8 0174                tst.l      [A0 + 0x174]
  2707. 00001C3E  670C                     beq        +0xE /* 00001C4C */
  2708. 00001C40  703E                     moveq.l    D0, 0x3E
  2709. 00001C42  2F00                     move.l     -[A7], D0
  2710. 00001C44  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2711. 00001C48  584F                     addq.w     A7, 4
  2712. 00001C4A  6010                     bra        +0x12 /* 00001C5C */
  2713. label00001C4C:
  2714. 00001C4C  4A2D F177                tst.b      [A5 - 0xE89]
  2715. 00001C50  670A                     beq        +0xC /* 00001C5C */
  2716. 00001C52  703C                     moveq.l    D0, 0x3C
  2717. 00001C54  2F00                     move.l     -[A7], D0
  2718. 00001C56  4EAD 0052                jsr        [A5 + 0x52 /* export_6 */]
  2719. 00001C5A  584F                     addq.w     A7, 4
  2720. label00001C5C:
  2721. 00001C5C  7000                     moveq.l    D0, 0x00
  2722. 00001C5E  4CEE 18E8 FDDA           movem.l    D3,D5,D6,D7,A3,A4, [A6 - 0x226]
  2723. 00001C64  4E5E                     unlink     A6
  2724. 00001C66  4E75                     rts
  2725. 00001C68  4E56 FFF0                link       A6, -0x0010
  2726. 00001C6C  48E7 0108                movem.l    -[A7], D7,A4
  2727. 00001C70  1E2E 0017                move.b     D7, [A6 + 0x17]
  2728. 00001C74  286E 000C                movea.l    A4, [A6 + 0xC]
  2729. 00001C78  41EE FFF0                lea.l      A0, [A6 - 0x10]
  2730. 00001C7C  43EC 014E                lea.l      A1, [A4 + 0x14E]
  2731. 00001C80  20D9                     move.l     [A0]+, [A1]+
  2732. 00001C82  20D9                     move.l     [A0]+, [A1]+
  2733. 00001C84  2078 09EE                movea.l    A0, [0x000009EE /* GrayRgn */]
  2734. 00001C88  2050                     movea.l    A0, [A0]
  2735. 00001C8A  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2736. 00001C8E  5488                     addq.l     A0, 2
  2737. 00001C90  22D8                     move.l     [A1]+, [A0]+
  2738. 00001C92  22D8                     move.l     [A1]+, [A0]+
  2739. 00001C94  4A07                     tst.b      D7
  2740. 00001C96  6612                     bne        +0x14 /* 00001CAA */
  2741. 00001C98  4A2C 016A                tst.b      [A4 + 0x16A]
  2742. 00001C9C  660C                     bne        +0xE /* 00001CAA */
  2743. 00001C9E  7000                     moveq.l    D0, 0x00
  2744. 00001CA0  2F00                     move.l     -[A7], D0
  2745. 00001CA2  2F0C                     move.l     -[A7], A4
  2746. 00001CA4  4EBA E42C                jsr        [PC - 0x1BD4 /* 000000D2 */]
  2747. 00001CA8  504F                     addq.w     A7, 8
  2748. label00001CAA:
  2749. 00001CAA  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  2750. 00001CAE  4EBA E350                jsr        [PC - 0x1CB0 /* 00000000 */]
  2751. 00001CB2  3D40 FFF4                move.w     [A6 - 0xC], D0
  2752. 00001CB6  506E FFF4                addq.w     [A6 - 0xC], 8
  2753. 00001CBA  3D6E FFFE FFF6           move.w     [A6 - 0xA], [A6 - 0x2]
  2754. 00001CC0  302E FFF4                move.w     D0, [A6 - 0xC]
  2755. 00001CC4  B06C 0152                cmp.w      D0, [A4 + 0x152]
  2756. 00001CC8  584F                     addq.w     A7, 4
  2757. 00001CCA  6C06                     bge        +0x8 /* 00001CD2 */
  2758. 00001CCC  3D6C 0152 FFF4           move.w     [A6 - 0xC], [A4 + 0x152]
  2759. label00001CD2:
  2760. 00001CD2  4A07                     tst.b      D7
  2761. 00001CD4  670C                     beq        +0xE /* 00001CE2 */
  2762. 00001CD6  302E FFFC                move.w     D0, [A6 - 0x4]
  2763. 00001CDA  907C 000F                sub.w      D0, 0xF
  2764. 00001CDE  3D40 FFF4                move.w     [A6 - 0xC], D0
  2765. label00001CE2:
  2766. 00001CE2  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  2767. 00001CE6  486E FFF0                pea.l      [A6 - 0x10]
  2768. 00001CEA  4EAD 0032                jsr        [A5 + 0x32 /* export_2 */]
  2769. 00001CEE  7000                     moveq.l    D0, 0x00
  2770. 00001CF0  504F                     addq.w     A7, 8
  2771. 00001CF2  4CEE 1080 FFE8           movem.l    D7,A4, [A6 - 0x18]
  2772. 00001CF8  4E5E                     unlink     A6
  2773. 00001CFA  4E75                     rts
  2774. 00001CFC  4E56 0000                link       A6, 0
  2775. 00001D00  206E 0014                movea.l    A0, [A6 + 0x14]
  2776. 00001D04  30BC 0008                move.w     [A0], 0x8
  2777. 00001D08  7000                     moveq.l    D0, 0x00
  2778. 00001D0A  4E5E                     unlink     A6
  2779. 00001D0C  4E75                     rts
  2780. 00001D0E  4E56 0000                link       A6, 0
  2781. 00001D12  4A2D F16E                tst.b      [A5 - 0xE92]
  2782. 00001D16  6610                     bne        +0x12 /* 00001D28 */
  2783. 00001D18  206E 000C                movea.l    A0, [A6 + 0xC]
  2784. 00001D1C  2068 0170                movea.l    A0, [A0 + 0x170]
  2785. 00001D20  2050                     movea.l    A0, [A0]
  2786. 00001D22  4A68 0024                tst.w      [A0 + 0x24]
  2787. 00001D26  6608                     bne        +0xA /* 00001D30 */
  2788. label00001D28:
  2789. 00001D28  203C 07FF FFFF           move.l     D0, 0x7FFFFFF
  2790. 00001D2E  6002                     bra        +0x4 /* 00001D32 */
  2791. label00001D30:
  2792. 00001D30  7001                     moveq.l    D0, 0x01
  2793. label00001D32:
  2794. 00001D32  4E5E                     unlink     A6
  2795. 00001D34  4E75                     rts
  2796. 00001D36  4E56 0000                link       A6, 0
  2797. 00001D3A  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  2798. 00001D3E  4247                     clr.w      D7
  2799. 00001D40  4A2D F17C                tst.b      [A5 - 0xE84]
  2800. 00001D44  673C                     beq        +0x3E /* 00001D82 */
  2801. 00001D46  598F                     subq.l     A7, 4
  2802. 00001D48  A8D8                     syscall    NewRgn
  2803. 00001D4A  265F                     movea.l    A3, [A7]+
  2804. 00001D4C  558F                     subq.l     A7, 2
  2805. 00001D4E  2F0B                     move.l     -[A7], A3
  2806. 00001D50  206E 000C                movea.l    A0, [A6 + 0xC]
  2807. 00001D54  2F28 0170                move.l     -[A7], [A0 + 0x170]
  2808. 00001D58  3F3C 000F                move.w     -[A7], 0xF
  2809. 00001D5C  A83D                     syscall    TEDispatch
  2810. 00001D5E  558F                     subq.l     A7, 2
  2811. 00001D60  206E 0010                movea.l    A0, [A6 + 0x10]
  2812. 00001D64  2F10                     move.l     -[A7], [A0]
  2813. 00001D66  2F0B                     move.l     -[A7], A3
  2814. 00001D68  A8E8                     syscall    PtInRgn
  2815. 00001D6A  4A1F                     tst.b      [A7]+
  2816. 00001D6C  544F                     addq.w     A7, 2
  2817. 00001D6E  670E                     beq        +0x10 /* 00001D7E */
  2818. 00001D70  486D FE5A                pea.l      [A5 - 0x1A6]
  2819. 00001D74  A851                     syscall    SetCursor
  2820. 00001D76  2F0B                     move.l     -[A7], A3
  2821. 00001D78  A8D9                     syscall    DisposRgn/DisposeRgn
  2822. 00001D7A  7064                     moveq.l    D0, 0x64
  2823. 00001D7C  602A                     bra        +0x2C /* 00001DA8 */
  2824. label00001D7E:
  2825. 00001D7E  2F0B                     move.l     -[A7], A3
  2826. 00001D80  A8D9                     syscall    DisposRgn/DisposeRgn
  2827. label00001D82:
  2828. 00001D82  598F                     subq.l     A7, 4
  2829. 00001D84  7001                     moveq.l    D0, 0x01
  2830. 00001D86  3F00                     move.w     -[A7], D0
  2831. 00001D88  A9B9                     syscall    GetCursor
  2832. 00001D8A  285F                     movea.l    A4, [A7]+
  2833. 00001D8C  200C                     move.l     D0, A4
  2834. 00001D8E  6716                     beq        +0x18 /* 00001DA6 */
  2835. 00001D90  204C                     movea.l    A0, A4
  2836. 00001D92  A069                     syscall    HGetState
  2837. 00001D94  1C00                     move.b     D6, D0
  2838. 00001D96  204C                     movea.l    A0, A4
  2839. 00001D98  A029                     syscall    HLock
  2840. 00001D9A  2F14                     move.l     -[A7], [A4]
  2841. 00001D9C  A851                     syscall    SetCursor
  2842. 00001D9E  204C                     movea.l    A0, A4
  2843. 00001DA0  1006                     move.b     D0, D6
  2844. 00001DA2  A06A                     syscall    HSetState
  2845. 00001DA4  7E64                     moveq.l    D7, 0x64
  2846. label00001DA6:
  2847. 00001DA6  3007                     move.w     D0, D7
  2848. label00001DA8:
  2849. 00001DA8  4CEE 18C0 FFF0           movem.l    D6,D7,A3,A4, [A6 - 0x10]
  2850. 00001DAE  4E5E                     unlink     A6
  2851. 00001DB0  4E75                     rts
  2852. 00001DB2  4E56 FEDC                link       A6, -0x0124
  2853. 00001DB6  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  2854. 00001DBA  266E 0010                movea.l    A3, [A6 + 0x10]
  2855. 00001DBE  49EE FEE0                lea.l      A4, [A6 - 0x120]
  2856. 00001DC2  426E FFF0                clr.w      [A6 - 0x10]
  2857. 00001DC6  7801                     moveq.l    D4, 0x01
  2858. 00001DC8  7000                     moveq.l    D0, 0x00
  2859. 00001DCA  3F00                     move.w     -[A7], D0
  2860. 00001DCC  A887                     syscall    TextFont
  2861. 00001DCE  7000                     moveq.l    D0, 0x00
  2862. 00001DD0  3F00                     move.w     -[A7], D0
  2863. 00001DD2  A88A                     syscall    TextSize
  2864. 00001DD4  7000                     moveq.l    D0, 0x00
  2865. 00001DD6  3F00                     move.w     -[A7], D0
  2866. 00001DD8  A888                     syscall    TextFace
  2867. 00001DDA  486E FFE8                pea.l      [A6 - 0x18]
  2868. 00001DDE  A88B                     syscall    GetFontInfo
  2869. 00001DE0  302E FFE8                move.w     D0, [A6 - 0x18]
  2870. 00001DE4  48C0                     ext.l      D0
  2871. 00001DE6  322E FFEA                move.w     D1, [A6 - 0x16]
  2872. 00001DEA  48C1                     ext.l      D1
  2873. 00001DEC  D280                     add.l      D1, D0
  2874. 00001DEE  302E FFEE                move.w     D0, [A6 - 0x12]
  2875. 00001DF2  48C0                     ext.l      D0
  2876. 00001DF4  D081                     add.l      D0, D1
  2877. 00001DF6  E388                     lsl        D0, 1
  2878. 00001DF8  3D40 FFF2                move.w     [A6 - 0xE], D0
  2879. 00001DFC  206E 000C                movea.l    A0, [A6 + 0xC]
  2880. 00001E00  2D68 0170 FFF4           move.l     [A6 - 0xC], [A0 + 0x170]
  2881. 00001E06  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2882. 00001E0A  A9D9                     syscall    TEDeactivate
  2883. 00001E0C  558F                     subq.l     A7, 2
  2884. 00001E0E  486E FFF4                pea.l      [A6 - 0xC]
  2885. 00001E12  4EAD 0132                jsr        [A5 + 0x132 /* export_34 */]
  2886. 00001E16  3D5F FFF0                move.w     [A6 - 0x10], [A7]+
  2887. 00001E1A  6600 022E                bne        +0x230 /* 0000204A */
  2888. 00001E1E  558F                     subq.l     A7, 2
  2889. 00001E20  7002                     moveq.l    D0, 0x02
  2890. 00001E22  3F00                     move.w     -[A7], D0
  2891. 00001E24  7200                     moveq.l    D1, 0x00
  2892. 00001E26  3F01                     move.w     -[A7], D1
  2893. 00001E28  206E 000C                movea.l    A0, [A6 + 0xC]
  2894. 00001E2C  2F28 0170                move.l     -[A7], [A0 + 0x170]
  2895. 00001E30  3F3C 000E                move.w     -[A7], 0xE
  2896. 00001E34  A83D                     syscall    TEDispatch
  2897. 00001E36  41ED F222                lea.l      A0, [A5 - 0xDDE]
  2898. 00001E3A  226E FFF4                movea.l    A1, [A6 - 0xC]
  2899. 00001E3E  2251                     movea.l    A1, [A1]
  2900. 00001E40  2348 005A                move.l     [A1 + 0x5A], A0
  2901. 00001E44  41EE FFF8                lea.l      A0, [A6 - 0x8]
  2902. 00001E48  224B                     movea.l    A1, A3
  2903. 00001E4A  20D9                     move.l     [A0]+, [A1]+
  2904. 00001E4C  20D9                     move.l     [A0]+, [A1]+
  2905. 00001E4E  302E FFF2                move.w     D0, [A6 - 0xE]
  2906. 00001E52  916E FFFC                sub.w      [A6 - 0x4], D0
  2907. 00001E56  4A2D F179                tst.b      [A5 - 0xE87]
  2908. 00001E5A  544F                     addq.w     A7, 2
  2909. 00001E5C  670E                     beq        +0x10 /* 00001E6C */
  2910. 00001E5E  486E FFF8                pea.l      [A6 - 0x8]
  2911. 00001E62  700A                     moveq.l    D0, 0x0A
  2912. 00001E64  3F00                     move.w     -[A7], D0
  2913. 00001E66  3F00                     move.w     -[A7], D0
  2914. 00001E68  A8A9                     syscall    InsetRect
  2915. 00001E6A  600C                     bra        +0xE /* 00001E78 */
  2916. label00001E6C:
  2917. 00001E6C  486E FFF8                pea.l      [A6 - 0x8]
  2918. 00001E70  7005                     moveq.l    D0, 0x05
  2919. 00001E72  3F00                     move.w     -[A7], D0
  2920. 00001E74  3F00                     move.w     -[A7], D0
  2921. 00001E76  A8A9                     syscall    InsetRect
  2922. label00001E78:
  2923. 00001E78  206E FFF4                movea.l    A0, [A6 - 0xC]
  2924. 00001E7C  2050                     movea.l    A0, [A0]
  2925. 00001E7E  43EE FFF8                lea.l      A1, [A6 - 0x8]
  2926. 00001E82  45D0                     lea.l      A2, [A0]
  2927. 00001E84  24D9                     move.l     [A2]+, [A1]+
  2928. 00001E86  24D9                     move.l     [A2]+, [A1]+
  2929. 00001E88  226E FFF4                movea.l    A1, [A6 - 0xC]
  2930. 00001E8C  2251                     movea.l    A1, [A1]
  2931. 00001E8E  5089                     addq.l     A1, 8
  2932. 00001E90  22D8                     move.l     [A1]+, [A0]+
  2933. 00001E92  22D8                     move.l     [A1]+, [A0]+
  2934. 00001E94  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2935. 00001E98  A9D0                     syscall    TECalText
  2936. 00001E9A  206E FFF4                movea.l    A0, [A6 - 0xC]
  2937. 00001E9E  2050                     movea.l    A0, [A0]
  2938. 00001EA0  216D FEC6 0052           move.l     [A0 + 0x52], [A5 - 0x13A]
  2939. 00001EA6  206E FFF4                movea.l    A0, [A6 - 0xC]
  2940. 00001EAA  2050                     movea.l    A0, [A0]
  2941. 00001EAC  43EE FFE4                lea.l      A1, [A6 - 0x1C]
  2942. 00001EB0  5088                     addq.l     A0, 8
  2943. 00001EB2  22D8                     move.l     [A1]+, [A0]+
  2944. 00001EB4  22D8                     move.l     [A1]+, [A0]+
  2945. 00001EB6  4247                     clr.w      D7
  2946. 00001EB8  7600                     moveq.l    D3, 0x00
  2947. 00001EBA  6000 0150                bra        +0x152 /* 0000200C */
  2948. label00001EBE:
  2949. 00001EBE  7A00                     moveq.l    D5, 0x00
  2950. label00001EC0:
  2951. 00001EC0  598F                     subq.l     A7, 4
  2952. 00001EC2  48C7                     ext.l      D7
  2953. 00001EC4  2007                     move.l     D0, D7
  2954. 00001EC6  5280                     addq.l     D0, 1
  2955. 00001EC8  2F00                     move.l     -[A7], D0
  2956. 00001ECA  48C7                     ext.l      D7
  2957. 00001ECC  2007                     move.l     D0, D7
  2958. 00001ECE  5280                     addq.l     D0, 1
  2959. 00001ED0  2F00                     move.l     -[A7], D0
  2960. 00001ED2  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  2961. 00001ED6  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  2962. 00001EDA  A83D                     syscall    TEDispatch
  2963. 00001EDC  2C1F                     move.l     D6, [A7]+
  2964. 00001EDE  2006                     move.l     D0, D6
  2965. 00001EE0  D085                     add.l      D0, D5
  2966. 00001EE2  322E FFFC                move.w     D1, [A6 - 0x4]
  2967. 00001EE6  48C1                     ext.l      D1
  2968. 00001EE8  342E FFF8                move.w     D2, [A6 - 0x8]
  2969. 00001EEC  48C2                     ext.l      D2
  2970. 00001EEE  9282                     sub.l      D1, D2
  2971. 00001EF0  B280                     cmp.l      D1, D0
  2972. 00001EF2  6D10                     blt        +0x12 /* 00001F04 */
  2973. 00001EF4  5247                     addq.w     D7, 1
  2974. 00001EF6  DA86                     add.l      D5, D6
  2975. 00001EF8  206E FFF4                movea.l    A0, [A6 - 0xC]
  2976. 00001EFC  2050                     movea.l    A0, [A0]
  2977. 00001EFE  BE68 005E                cmp.w      D7, [A0 + 0x5E]
  2978. 00001F02  6DBC                     blt        -0x42 /* 00001EC0 */
  2979. label00001F04:
  2980. 00001F04  48C4                     ext.l      D4
  2981. 00001F06  206E 0014                movea.l    A0, [A6 + 0x14]
  2982. 00001F0A  B890                     cmp.l      D4, [A0]
  2983. 00001F0C  6600 00FA                bne        +0xFC /* 00002008 */
  2984. 00001F10  598F                     subq.l     A7, 4
  2985. 00001F12  A8D8                     syscall    NewRgn
  2986. 00001F14  2D5F FFE0                move.l     [A6 - 0x20], [A7]+
  2987. 00001F18  486E FFE4                pea.l      [A6 - 0x1C]
  2988. 00001F1C  7000                     moveq.l    D0, 0x00
  2989. 00001F1E  3F00                     move.w     -[A7], D0
  2990. 00001F20  2203                     move.l     D1, D3
  2991. 00001F22  4481                     neg.l      D1
  2992. 00001F24  3F01                     move.w     -[A7], D1
  2993. 00001F26  A8A8                     syscall    OffsetRect
  2994. 00001F28  3005                     move.w     D0, D5
  2995. 00001F2A  D06E FFE4                add.w      D0, [A6 - 0x1C]
  2996. 00001F2E  3D40 FFE8                move.w     [A6 - 0x18], D0
  2997. 00001F32  206E FFF4                movea.l    A0, [A6 - 0xC]
  2998. 00001F36  2050                     movea.l    A0, [A0]
  2999. 00001F38  43EE FFE4                lea.l      A1, [A6 - 0x1C]
  3000. 00001F3C  20D9                     move.l     [A0]+, [A1]+
  3001. 00001F3E  20D9                     move.l     [A0]+, [A1]+
  3002. 00001F40  3005                     move.w     D0, D5
  3003. 00001F42  D06E FFF8                add.w      D0, [A6 - 0x8]
  3004. 00001F46  3D40 FFFC                move.w     [A6 - 0x4], D0
  3005. 00001F4A  2F2E FFE0                move.l     -[A7], [A6 - 0x20]
  3006. 00001F4E  A87A                     syscall    GetClip
  3007. 00001F50  486E FFF8                pea.l      [A6 - 0x8]
  3008. 00001F54  A87B                     syscall    ClipRect
  3009. 00001F56  486E FFF8                pea.l      [A6 - 0x8]
  3010. 00001F5A  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  3011. 00001F5E  A9D3                     syscall    TEUpdate
  3012. 00001F60  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  3013. 00001F64  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  3014. 00001F68  4EBA E3DE                jsr        [PC - 0x1C22 /* 00000348 */]
  3015. 00001F6C  2F2E FFE0                move.l     -[A7], [A6 - 0x20]
  3016. 00001F70  A879                     syscall    SetClip
  3017. 00001F72  2F2E FFE0                move.l     -[A7], [A6 - 0x20]
  3018. 00001F76  A8D9                     syscall    DisposRgn/DisposeRgn
  3019. 00001F78  18BC 0002                move.b     [A4], 0x2
  3020. 00001F7C  197C 002D 0001           move.b     [A4 + 0x1], 0x2D /* '-' */
  3021. 00001F82  206E 0014                movea.l    A0, [A6 + 0x14]
  3022. 00001F86  2F10                     move.l     -[A7], [A0]
  3023. 00001F88  486C 0002                pea.l      [A4 + 0x2]
  3024. 00001F8C  4EAD 0152                jsr        [A5 + 0x152 /* export_38 */]
  3025. 00001F90  102C 0002                move.b     D0, [A4 + 0x2]
  3026. 00001F94  D114                     add.b      [A4], D0
  3027. 00001F96  197C 0020 0002           move.b     [A4 + 0x2], 0x20 /* ' ' */
  3028. 00001F9C  5214                     addq.b     [A4], 1
  3029. 00001F9E  7000                     moveq.l    D0, 0x00
  3030. 00001FA0  1014                     move.b     D0, [A4]
  3031. 00001FA2  19BC 0020 0000           move.b     [A4 + D0.w], 0x20 /* ' ' */
  3032. 00001FA8  5214                     addq.b     [A4], 1
  3033. 00001FAA  7000                     moveq.l    D0, 0x00
  3034. 00001FAC  1014                     move.b     D0, [A4]
  3035. 00001FAE  19BC 002D 0000           move.b     [A4 + D0.w], 0x2D /* '-' */
  3036. 00001FB4  302B 0002                move.w     D0, [A3 + 0x2]
  3037. 00001FB8  48C0                     ext.l      D0
  3038. 00001FBA  322B 0006                move.w     D1, [A3 + 0x6]
  3039. 00001FBE  48C1                     ext.l      D1
  3040. 00001FC0  342B 0002                move.w     D2, [A3 + 0x2]
  3041. 00001FC4  48C2                     ext.l      D2
  3042. 00001FC6  9282                     sub.l      D1, D2
  3043. 00001FC8  E281                     asr        D1, 1
  3044. 00001FCA  D280                     add.l      D1, D0
  3045. 00001FCC  2D41 FEDC                move.l     [A6 - 0x124], D1
  3046. 00001FD0  558F                     subq.l     A7, 2
  3047. 00001FD2  2F0C                     move.l     -[A7], A4
  3048. 00001FD4  A88C                     syscall    StringWidth
  3049. 00001FD6  301F                     move.w     D0, [A7]+
  3050. 00001FD8  E240                     asr        D0.w, 1
  3051. 00001FDA  222E FEDC                move.l     D1, [A6 - 0x124]
  3052. 00001FDE  9240                     sub.w      D1, D0
  3053. 00001FE0  3F01                     move.w     -[A7], D1
  3054. 00001FE2  302B 0004                move.w     D0, [A3 + 0x4]
  3055. 00001FE6  5B40                     subq.w     D0, 5
  3056. 00001FE8  3F00                     move.w     -[A7], D0
  3057. 00001FEA  A893                     syscall    MoveTo
  3058. 00001FEC  2F0C                     move.l     -[A7], A4
  3059. 00001FEE  A884                     syscall    DrawString
  3060. 00001FF0  206E FFF4                movea.l    A0, [A6 - 0xC]
  3061. 00001FF4  2050                     movea.l    A0, [A0]
  3062. 00001FF6  BE68 005E                cmp.w      D7, [A0 + 0x5E]
  3063. 00001FFA  504F                     addq.w     A7, 8
  3064. 00001FFC  6D1A                     blt        +0x1C /* 00002018 */
  3065. 00001FFE  206E 0014                movea.l    A0, [A6 + 0x14]
  3066. 00002002  70FF                     moveq.l    D0, 0xFFFFFFFF
  3067. 00002004  2080                     move.l     [A0], D0
  3068. 00002006  6010                     bra        +0x12 /* 00002018 */
  3069. label00002008:
  3070. 00002008  5244                     addq.w     D4, 1
  3071. 0000200A  D685                     add.l      D3, D5
  3072. label0000200C:
  3073. 0000200C  48C4                     ext.l      D4
  3074. 0000200E  206E 0014                movea.l    A0, [A6 + 0x14]
  3075. 00002012  B890                     cmp.l      D4, [A0]
  3076. 00002014  6F00 FEA8                ble        -0x156 /* 00001EBE */
  3077. label00002018:
  3078. 00002018  206E 0014                movea.l    A0, [A6 + 0x14]
  3079. 0000201C  70FF                     moveq.l    D0, 0xFFFFFFFF
  3080. 0000201E  B090                     cmp.l      D0, [A0]
  3081. 00002020  6622                     bne        +0x24 /* 00002044 */
  3082. 00002022  206E 000C                movea.l    A0, [A6 + 0xC]
  3083. 00002026  2F28 0170                move.l     -[A7], [A0 + 0x170]
  3084. 0000202A  A9D0                     syscall    TECalText
  3085. 0000202C  206E 000C                movea.l    A0, [A6 + 0xC]
  3086. 00002030  0CA8 7474 726F 00A0      cmpi.l     [A0 + 0xA0], 0x7474726F /* 'ttro' */
  3087. 00002038  670A                     beq        +0xC /* 00002044 */
  3088. 0000203A  206E 000C                movea.l    A0, [A6 + 0xC]
  3089. 0000203E  2F28 0170                move.l     -[A7], [A0 + 0x170]
  3090. 00002042  A9D8                     syscall    TEActivate
  3091. label00002044:
  3092. 00002044  206E FFF4                movea.l    A0, [A6 - 0xC]
  3093. 00002048  A023                     syscall    DisposHandle/DisposeHandle
  3094. label0000204A:
  3095. 0000204A  302E FFF0                move.w     D0, [A6 - 0x10]
  3096. 0000204E  4CEE 1CF8 FEBC           movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x144]
  3097. 00002054  4E5E                     unlink     A6
  3098. 00002056  4E75                     rts
  3099. 00002058  4E56 FD7C                link       A6, -0x0284
  3100. 0000205C  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  3101. 00002060  246E 000C                movea.l    A2, [A6 + 0xC]
  3102. 00002064  49EE FD7C                lea.l      A4, [A6 - 0x284]
  3103. 00002068  4244                     clr.w      D4
  3104. 0000206A  157C 0001 00F1           move.b     [A2 + 0xF1], 0x1
  3105. 00002070  41FA EDF4                lea.l      A0, [PC - 0x120C /* 00000E66, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3106. 00002074  2548 0108                move.l     [A2 + 0x108], A0
  3107. 00002078  41FA F012                lea.l      A0, [PC - 0xFEE /* 0000108C, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3108. 0000207C  2548 010C                move.l     [A2 + 0x10C], A0
  3109. 00002080  41FA FBE6                lea.l      A0, [PC - 0x41A /* 00001C68, value 0x4E56FFF0 */]
  3110. 00002084  2548 0104                move.l     [A2 + 0x104], A0
  3111. 00002088  41FA F6DE                lea.l      A0, [PC - 0x922 /* 00001768, value 0x4E56FDF2 */]
  3112. 0000208C  2548 012C                move.l     [A2 + 0x12C], A0
  3113. 00002090  41FA F03C                lea.l      A0, [PC - 0xFC4 /* 000010CE, value 0x4E56FD80 */]
  3114. 00002094  2548 0138                move.l     [A2 + 0x138], A0
  3115. 00002098  41FA ECB2                lea.l      A0, [PC - 0x134E /* 00000D4C, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3116. 0000209C  2548 0100                move.l     [A2 + 0x100], A0
  3117. 000020A0  41FA ED5A                lea.l      A0, [PC - 0x12A6 /* 00000DFC, value 0x4E56FFF8 */]
  3118. 000020A4  2548 0120                move.l     [A2 + 0x120], A0
  3119. 000020A8  41FA ECF8                lea.l      A0, [PC - 0x1308 /* 00000DA2, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3120. 000020AC  2548 0124                move.l     [A2 + 0x124], A0
  3121. 000020B0  41FA EC4A                lea.l      A0, [PC - 0x13B6 /* 00000CFC, value 0x4E56FFF8 */]
  3122. 000020B4  2548 0128                move.l     [A2 + 0x128], A0
  3123. 000020B8  41FA FCF8                lea.l      A0, [PC - 0x308 /* 00001DB2, value 0x4E56FEDC */]
  3124. 000020BC  2548 013C                move.l     [A2 + 0x13C], A0
  3125. 000020C0  0CAA 7474 726F 00A0      cmpi.l     [A2 + 0xA0], 0x7474726F /* 'ttro' */
  3126. 000020C8  673E                     beq        +0x40 /* 00002108 */
  3127. 000020CA  41FA EDC6                lea.l      A0, [PC - 0x123A /* 00000E92, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3128. 000020CE  2548 0130                move.l     [A2 + 0x130], A0
  3129. 000020D2  41FA EEF2                lea.l      A0, [PC - 0x110E /* 00000FC6, value 0x4E56FFF8 */]
  3130. 000020D6  2548 0134                move.l     [A2 + 0x134], A0
  3131. 000020DA  41FA FC5A                lea.l      A0, [PC - 0x3A6 /* 00001D36, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3132. 000020DE  2548 0110                move.l     [A2 + 0x110], A0
  3133. 000020E2  41FA FC18                lea.l      A0, [PC - 0x3E8 /* 00001CFC, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3134. 000020E6  2548 0114                move.l     [A2 + 0x114], A0
  3135. 000020EA  41FA FC22                lea.l      A0, [PC - 0x3DE /* 00001D0E, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3136. 000020EE  2548 0140                move.l     [A2 + 0x140], A0
  3137. 000020F2  41FA 0942                lea.l      A0, [PC + 0x942 /* 00002A36, value 0x4E56FFEE */]
  3138. 000020F6  2548 0118                move.l     [A2 + 0x118], A0
  3139. 000020FA  41FA 0BFC                lea.l      A0, [PC + 0xBFC /* 00002CF8, value 0x4E56FFD0 */]
  3140. 000020FE  2548 011C                move.l     [A2 + 0x11C], A0
  3141. 00002102  157C 0001 00F5           move.b     [A2 + 0xF5], 0x1
  3142. label00002108:
  3143. 00002108  157C 0001 014C           move.b     [A2 + 0x14C], 0x1
  3144. 0000210E  046A 000F 0152           subi.w     [A2 + 0x152], 0xF
  3145. 00002114  302A 0154                move.w     D0, [A2 + 0x154]
  3146. 00002118  48C0                     ext.l      D0
  3147. 0000211A  322A 0150                move.w     D1, [A2 + 0x150]
  3148. 0000211E  48C1                     ext.l      D1
  3149. 00002120  9081                     sub.l      D0, D1
  3150. 00002122  0C80 0000 0258           cmpi.l     D0, 0x258
  3151. 00002128  6F0C                     ble        +0xE /* 00002136 */
  3152. 0000212A  302A 0150                move.w     D0, [A2 + 0x150]
  3153. 0000212E  D07C 0258                add.w      D0, 0x258
  3154. 00002132  3540 0154                move.w     [A2 + 0x154], D0
  3155. label00002136:
  3156. 00002136  598F                     subq.l     A7, 4
  3157. 00002138  486A 014E                pea.l      [A2 + 0x14E]
  3158. 0000213C  486A 014E                pea.l      [A2 + 0x14E]
  3159. 00002140  A83E                     syscall    TEStyleNew
  3160. 00002142  255F 0170                move.l     [A2 + 0x170], [A7]+
  3161. 00002146  3838 0220                move.w     D4, [0x00000220 /* MemErr */]
  3162. 0000214A  6600 0432                bne        +0x434 /* 0000257E */
  3163. 0000214E  426A 015E                clr.w      [A2 + 0x15E]
  3164. 00002152  598F                     subq.l     A7, 4
  3165. 00002154  7000                     moveq.l    D0, 0x00
  3166. 00002156  2F00                     move.l     -[A7], D0
  3167. 00002158  2F00                     move.l     -[A7], D0
  3168. 0000215A  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3169. 0000215E  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  3170. 00002162  A83D                     syscall    TEDispatch
  3171. 00002164  201F                     move.l     D0, [A7]+
  3172. 00002166  3540 0160                move.w     [A2 + 0x160], D0
  3173. 0000216A  7001                     moveq.l    D0, 0x01
  3174. 0000216C  1F00                     move.b     -[A7], D0
  3175. 0000216E  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3176. 00002172  A813                     syscall    TEAutoView
  3177. 00002174  206A 0170                movea.l    A0, [A2 + 0x170]
  3178. 00002178  2050                     movea.l    A0, [A0]
  3179. 0000217A  2568 002A 016C           move.l     [A2 + 0x16C], [A0 + 0x2A]
  3180. 00002180  41ED 00BA                lea.l      A0, [A5 + 0xBA /* export_19 */]
  3181. 00002184  226A 0170                movea.l    A1, [A2 + 0x170]
  3182. 00002188  2251                     movea.l    A1, [A1]
  3183. 0000218A  2348 002A                move.l     [A1 + 0x2A], A0
  3184. 0000218E  70FF                     moveq.l    D0, 0xFFFFFFFF
  3185. 00002190  B06A 00EA                cmp.w      D0, [A2 + 0xEA]
  3186. 00002194  6700 0086                beq        +0x88 /* 0000221C */
  3187. 00002198  558F                     subq.l     A7, 2
  3188. 0000219A  3F2A 00EA                move.w     -[A7], [A2 + 0xEA]
  3189. 0000219E  486E FFFC                pea.l      [A6 - 0x4]
  3190. 000021A2  4EAD 0112                jsr        [A5 + 0x112 /* export_30 */]
  3191. 000021A6  0CAE 0000 7C00 FFFC      cmpi.l     [A6 - 0x4], 0x7C00 /* '|\0' */
  3192. 000021AE  544F                     addq.w     A7, 2
  3193. 000021B0  6F06                     ble        +0x8 /* 000021B8 */
  3194. 000021B2  383C 00C8                move.w     D4, 0xC8
  3195. 000021B6  6064                     bra        +0x66 /* 0000221C */
  3196. label000021B8:
  3197. 000021B8  202E FFFC                move.l     D0, [A6 - 0x4]
  3198. 000021BC  A122                     syscall    NewHandle, flags=1
  3199. 000021BE  2D48 FFEA                move.l     [A6 - 0x16], A0
  3200. 000021C2  3838 0220                move.w     D4, [0x00000220 /* MemErr */]
  3201. 000021C6  6654                     bne        +0x56 /* 0000221C */
  3202. 000021C8  558F                     subq.l     A7, 2
  3203. 000021CA  3F2A 00EA                move.w     -[A7], [A2 + 0xEA]
  3204. 000021CE  7001                     moveq.l    D0, 0x01
  3205. 000021D0  3F00                     move.w     -[A7], D0
  3206. 000021D2  7200                     moveq.l    D1, 0x00
  3207. 000021D4  2F01                     move.l     -[A7], D1
  3208. 000021D6  4EAD 0122                jsr        [A5 + 0x122 /* export_32 */]
  3209. 000021DA  558F                     subq.l     A7, 2
  3210. 000021DC  3F2A 00EA                move.w     -[A7], [A2 + 0xEA]
  3211. 000021E0  486E FFFC                pea.l      [A6 - 0x4]
  3212. 000021E4  206E FFEA                movea.l    A0, [A6 - 0x16]
  3213. 000021E8  2F10                     move.l     -[A7], [A0]
  3214. 000021EA  4EAD 0102                jsr        [A5 + 0x102 /* export_28 */]
  3215. 000021EE  381F                     move.w     D4, [A7]+
  3216. 000021F0  544F                     addq.w     A7, 2
  3217. 000021F2  6622                     bne        +0x24 /* 00002216 */
  3218. 000021F4  206E FFEA                movea.l    A0, [A6 - 0x16]
  3219. 000021F8  A029                     syscall    HLock
  3220. 000021FA  206E FFEA                movea.l    A0, [A6 - 0x16]
  3221. 000021FE  2F10                     move.l     -[A7], [A0]
  3222. 00002200  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3223. 00002204  7000                     moveq.l    D0, 0x00
  3224. 00002206  2F00                     move.l     -[A7], D0
  3225. 00002208  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3226. 0000220C  3F3C 0007                move.w     -[A7], 0x7
  3227. 00002210  A83D                     syscall    TEDispatch
  3228. 00002212  3838 0220                move.w     D4, [0x00000220 /* MemErr */]
  3229. label00002216:
  3230. 00002216  206E FFEA                movea.l    A0, [A6 - 0x16]
  3231. 0000221A  A023                     syscall    DisposHandle/DisposeHandle
  3232. label0000221C:
  3233. 0000221C  4A44                     tst.w      D4
  3234. 0000221E  6600 0358                bne        +0x35A /* 00002578 */
  3235. 00002222  70FF                     moveq.l    D0, 0xFFFFFFFF
  3236. 00002224  B06A 00EC                cmp.w      D0, [A2 + 0xEC]
  3237. 00002228  6770                     beq        +0x72 /* 0000229A */
  3238. 0000222A  558F                     subq.l     A7, 2
  3239. 0000222C  A994                     syscall    CurResFile
  3240. 0000222E  361F                     move.w     D3, [A7]+
  3241. 00002230  3F2A 00EC                move.w     -[A7], [A2 + 0xEC]
  3242. 00002234  A998                     syscall    UseResFile
  3243. 00002236  598F                     subq.l     A7, 4
  3244. 00002238  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  3245. 0000223E  3F3C 0080                move.w     -[A7], 0x80
  3246. 00002242  A81F                     syscall    Get1Resource
  3247. 00002244  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  3248. 00002248  6726                     beq        +0x28 /* 00002270 */
  3249. 0000224A  206E FFFC                movea.l    A0, [A6 - 0x4]
  3250. 0000224E  A04A                     syscall    HNoPurge
  3251. 00002250  7000                     moveq.l    D0, 0x00
  3252. 00002252  2F00                     move.l     -[A7], D0
  3253. 00002254  4878 7FFF                push.l     0x7FFF
  3254. 00002258  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3255. 0000225C  7201                     moveq.l    D1, 0x01
  3256. 0000225E  1F01                     move.b     -[A7], D1
  3257. 00002260  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3258. 00002264  3F3C 000B                move.w     -[A7], 0xB
  3259. 00002268  A83D                     syscall    TEDispatch
  3260. 0000226A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3261. 0000226E  A9A3                     syscall    ReleaseResource
  3262. label00002270:
  3263. 00002270  598F                     subq.l     A7, 4
  3264. 00002272  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  3265. 00002278  3F3C 2710                move.w     -[A7], 0x2710
  3266. 0000227C  A81F                     syscall    Get1Resource
  3267. 0000227E  2D5F FFEA                move.l     [A6 - 0x16], [A7]+
  3268. 00002282  6712                     beq        +0x14 /* 00002296 */
  3269. 00002284  206E FFEA                movea.l    A0, [A6 - 0x16]
  3270. 00002288  A04A                     syscall    HNoPurge
  3271. 0000228A  2F2E FFEA                move.l     -[A7], [A6 - 0x16]
  3272. 0000228E  A992                     syscall    DetachResource
  3273. 00002290  256E FFEA 0174           move.l     [A2 + 0x174], [A6 - 0x16]
  3274. label00002296:
  3275. 00002296  3F03                     move.w     -[A7], D3
  3276. 00002298  A998                     syscall    UseResFile
  3277. label0000229A:
  3278. 0000229A  0CAA 7474 726F 00A0      cmpi.l     [A2 + 0xA0], 0x7474726F /* 'ttro' */
  3279. 000022A2  661C                     bne        +0x1E /* 000022C0 */
  3280. 000022A4  41ED 00C2                lea.l      A0, [A5 + 0xC2 /* export_20 */]
  3281. 000022A8  2D48 FFFC                move.l     [A6 - 0x4], A0
  3282. 000022AC  7001                     moveq.l    D0, 0x01
  3283. 000022AE  3F00                     move.w     -[A7], D0
  3284. 000022B0  486E FFFC                pea.l      [A6 - 0x4]
  3285. 000022B4  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3286. 000022B8  3F3C 000C                move.w     -[A7], 0xC
  3287. 000022BC  A83D                     syscall    TEDispatch
  3288. 000022BE  6016                     bra        +0x18 /* 000022D6 */
  3289. label000022C0:
  3290. 000022C0  558F                     subq.l     A7, 2
  3291. 000022C2  7002                     moveq.l    D0, 0x02
  3292. 000022C4  3F00                     move.w     -[A7], D0
  3293. 000022C6  7201                     moveq.l    D1, 0x01
  3294. 000022C8  3F01                     move.w     -[A7], D1
  3295. 000022CA  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3296. 000022CE  3F3C 000E                move.w     -[A7], 0xE
  3297. 000022D2  A83D                     syscall    TEDispatch
  3298. 000022D4  544F                     addq.w     A7, 2
  3299. label000022D6:
  3300. 000022D6  0CAA 7474 726F 00A0      cmpi.l     [A2 + 0xA0], 0x7474726F /* 'ttro' */
  3301. 000022DE  6700 0086                beq        +0x88 /* 00002366 */
  3302. 000022E2  4A2D F17B                tst.b      [A5 - 0xE85]
  3303. 000022E6  677E                     beq        +0x80 /* 00002366 */
  3304. 000022E8  2D7C 746D 5445 FFFC      move.l     [A6 - 0x4], 0x746D5445 /* 'tmTE' */
  3305. 000022F0  558F                     subq.l     A7, 2
  3306. 000022F2  7001                     moveq.l    D0, 0x01
  3307. 000022F4  3F00                     move.w     -[A7], D0
  3308. 000022F6  486E FFFC                pea.l      [A6 - 0x4]
  3309. 000022FA  486A 0166                pea.l      [A2 + 0x166]
  3310. 000022FE  486A 0162                pea.l      [A2 + 0x162]
  3311. 00002302  303C 0000                move.w     D0, 0x0
  3312. 00002306  AA54                     syscall    TextServicesDispatch
  3313. 00002308  4A5F                     tst.w      [A7]+
  3314. 0000230A  665A                     bne        +0x5C /* 00002366 */
  3315. 0000230C  206A 0162                movea.l    A0, [A2 + 0x162]
  3316. 00002310  2050                     movea.l    A0, [A0]
  3317. 00002312  20AA 0170                move.l     [A0], [A2 + 0x170]
  3318. 00002316  203C 746D 5456           move.l     D0, 0x746D5456 /* 'tmTV' */
  3319. 0000231C  41EE FFEA                lea.l      A0, [A6 - 0x16]
  3320. 00002320  2248                     movea.l    A1, A0
  3321. 00002322  A1AD                     syscall    Gestalt, flags=1
  3322. 00002324  2288                     move.l     [A1], A0
  3323. 00002326  4A40                     tst.w      D0
  3324. 00002328  6618                     bne        +0x1A /* 00002342 */
  3325. 0000232A  0CAE 0000 0100 FFEA      cmpi.l     [A6 - 0x16], 0x100
  3326. 00002332  660E                     bne        +0x10 /* 00002342 */
  3327. 00002334  41FA E394                lea.l      A0, [PC - 0x1C6C /* 000006CA, value 0x4E56FFF2 */]
  3328. 00002338  226A 0162                movea.l    A1, [A2 + 0x162]
  3329. 0000233C  2251                     movea.l    A1, [A1]
  3330. 0000233E  2348 0004                move.l     [A1 + 0x4], A0
  3331. label00002342:
  3332. 00002342  41FA E40A                lea.l      A0, [PC - 0x1BF6 /* 0000074E, value 0x4E560000 'NV\0\0', cstring "NV" */]
  3333. 00002346  226A 0162                movea.l    A1, [A2 + 0x162]
  3334. 0000234A  2251                     movea.l    A1, [A1]
  3335. 0000234C  2348 0008                move.l     [A1 + 0x8], A0
  3336. 00002350  206A 0162                movea.l    A0, [A2 + 0x162]
  3337. 00002354  2050                     movea.l    A0, [A0]
  3338. 00002356  7001                     moveq.l    D0, 0x01
  3339. 00002358  2140 000C                move.l     [A0 + 0xC], D0
  3340. 0000235C  206A 0162                movea.l    A0, [A2 + 0x162]
  3341. 00002360  2050                     movea.l    A0, [A0]
  3342. 00002362  214A 0010                move.l     [A0 + 0x10], A2
  3343. label00002366:
  3344. 00002366  7000                     moveq.l    D0, 0x00
  3345. 00002368  2F00                     move.l     -[A7], D0
  3346. 0000236A  2F00                     move.l     -[A7], D0
  3347. 0000236C  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3348. 00002370  A9D1                     syscall    TESetSelect
  3349. 00002372  7001                     moveq.l    D0, 0x01
  3350. 00002374  2F00                     move.l     -[A7], D0
  3351. 00002376  2F0A                     move.l     -[A7], A2
  3352. 00002378  4EBA DD58                jsr        [PC - 0x22A8 /* 000000D2 */]
  3353. 0000237C  7001                     moveq.l    D0, 0x01
  3354. 0000237E  2F00                     move.l     -[A7], D0
  3355. 00002380  2F0A                     move.l     -[A7], A2
  3356. 00002382  4EBA DCE4                jsr        [PC - 0x231C /* 00000068 */]
  3357. 00002386  0CAA 7474 726F 00A0      cmpi.l     [A2 + 0xA0], 0x7474726F /* 'ttro' */
  3358. 0000238E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3359. 00002392  6714                     beq        +0x16 /* 000023A8 */
  3360. 00002394  701F                     moveq.l    D0, 0x1F
  3361. 00002396  3F00                     move.w     -[A7], D0
  3362. 00002398  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3363. 0000239C  A9DC                     syscall    TEKey
  3364. 0000239E  701E                     moveq.l    D0, 0x1E
  3365. 000023A0  3F00                     move.w     -[A7], D0
  3366. 000023A2  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3367. 000023A6  A9DC                     syscall    TEKey
  3368. label000023A8:
  3369. 000023A8  70FF                     moveq.l    D0, 0xFFFFFFFF
  3370. 000023AA  B06A 00EA                cmp.w      D0, [A2 + 0xEA]
  3371. 000023AE  666E                     bne        +0x70 /* 0000241E */
  3372. 000023B0  2D6A 0170 FFEE           move.l     [A6 - 0x12], [A2 + 0x170]
  3373. 000023B6  3D7C 000F FFF2           move.w     [A6 - 0xE], 0xF
  3374. 000023BC  558F                     subq.l     A7, 2
  3375. 000023BE  486E FFF2                pea.l      [A6 - 0xE]
  3376. 000023C2  486E FFF4                pea.l      [A6 - 0xC]
  3377. 000023C6  2F2E FFEE                move.l     -[A7], [A6 - 0x12]
  3378. 000023CA  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  3379. 000023CE  A83D                     syscall    TEDispatch
  3380. 000023D0  4A6E FFF8                tst.w      [A6 - 0x8]
  3381. 000023D4  544F                     addq.w     A7, 2
  3382. 000023D6  6610                     bne        +0x12 /* 000023E8 */
  3383. 000023D8  558F                     subq.l     A7, 2
  3384. 000023DA  3EB8 0BA8                move.w     [A7], [0x00000BA8 /* DefFontSize */]
  3385. 000023DE  6604                     bne        +0x6 /* 000023E4 */
  3386. 000023E0  3EBC 000C                move.w     [A7], 0xC
  3387. label000023E4:
  3388. 000023E4  3D5F FFF8                move.w     [A6 - 0x8], [A7]+
  3389. label000023E8:
  3390. 000023E8  4A6E FFF4                tst.w      [A6 - 0xC]
  3391. 000023EC  6606                     bne        +0x8 /* 000023F4 */
  3392. 000023EE  3D78 0BA6 FFF4           move.w     [A6 - 0xC], [0x00000BA6 /* SysFontFam */]
  3393. label000023F4:
  3394. 000023F4  7001                     moveq.l    D0, 0x01
  3395. 000023F6  B06E FFF4                cmp.w      D0, [A6 - 0xC]
  3396. 000023FA  6606                     bne        +0x8 /* 00002402 */
  3397. 000023FC  3D78 0984 FFF4           move.w     [A6 - 0xC], [0x00000984 /* AppFontID */]
  3398. label00002402:
  3399. 00002402  3D7C 000F FFF2           move.w     [A6 - 0xE], 0xF
  3400. 00002408  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  3401. 0000240C  486E FFF4                pea.l      [A6 - 0xC]
  3402. 00002410  7000                     moveq.l    D0, 0x00
  3403. 00002412  1F00                     move.b     -[A7], D0
  3404. 00002414  2F2E FFEE                move.l     -[A7], [A6 - 0x12]
  3405. 00002418  3F3C 0001                move.w     -[A7], 0x1
  3406. 0000241C  A83D                     syscall    TEDispatch
  3407. label0000241E:
  3408. 0000241E  0CAA 7345 5854 00A0      cmpi.l     [A2 + 0xA0], 0x73455854 /* 'sEXT' */
  3409. 00002426  663C                     bne        +0x3E /* 00002464 */
  3410. 00002428  257C 5445 5854 00A0      move.l     [A2 + 0xA0], 0x54455854 /* 'TEXT' */
  3411. 00002430  157C 0001 00F2           move.b     [A2 + 0xF2], 0x1
  3412. 00002436  70FF                     moveq.l    D0, 0xFFFFFFFF
  3413. 00002438  B06A 00EC                cmp.w      D0, [A2 + 0xEC]
  3414. 0000243C  6706                     beq        +0x8 /* 00002444 */
  3415. 0000243E  3F2A 00EC                move.w     -[A7], [A2 + 0xEC]
  3416. 00002442  A99A                     syscall    CloseResFile
  3417. label00002444:
  3418. 00002444  70FF                     moveq.l    D0, 0xFFFFFFFF
  3419. 00002446  B06A 00EA                cmp.w      D0, [A2 + 0xEA]
  3420. 0000244A  670C                     beq        +0xE /* 00002458 */
  3421. 0000244C  558F                     subq.l     A7, 2
  3422. 0000244E  3F2A 00EA                move.w     -[A7], [A2 + 0xEA]
  3423. 00002452  4EAD 00FA                jsr        [A5 + 0xFA /* export_27 */]
  3424. 00002456  544F                     addq.w     A7, 2
  3425. label00002458:
  3426. 00002458  357C FFFF 00EA           move.w     [A2 + 0xEA], 0xFFFF
  3427. 0000245E  357C FFFF 00EC           move.w     [A2 + 0xEC], 0xFFFF
  3428. label00002464:
  3429. 00002464  4A2D F178                tst.b      [A5 - 0xE88]
  3430. 00002468  6700 010A                beq        +0x10C /* 00002574 */
  3431. 0000246C  4A2D F266                tst.b      [A5 - 0xD9A]
  3432. 00002470  6600 0102                bne        +0x104 /* 00002574 */
  3433. 00002474  558F                     subq.l     A7, 2
  3434. 00002476  486E FFFE                pea.l      [A6 - 0x2]
  3435. 0000247A  203C 0108 000C           move.l     D0, 0x108000C
  3436. 00002480  A800                     syscall    SoundDispatch
  3437. 00002482  4A5F                     tst.w      [A7]+
  3438. 00002484  6600 00EE                bne        +0xF0 /* 00002574 */
  3439. 00002488  598F                     subq.l     A7, 4
  3440. 0000248A  3F3C 0087                move.w     -[A7], 0x87
  3441. 0000248E  A949                     syscall    GetMenuHandle
  3442. 00002490  265F                     movea.l    A3, [A7]+
  3443. 00002492  558F                     subq.l     A7, 2
  3444. 00002494  7000                     moveq.l    D0, 0x00
  3445. 00002496  2F00                     move.l     -[A7], D0
  3446. 00002498  486E FE84                pea.l      [A6 - 0x17C]
  3447. 0000249C  4878 016A                push.l     0x16A
  3448. 000024A0  203C 0610 000C           move.l     D0, 0x610000C
  3449. 000024A6  A800                     syscall    SoundDispatch
  3450. 000024A8  381F                     move.w     D4, [A7]+
  3451. 000024AA  6600 00C2                bne        +0xC4 /* 0000256E */
  3452. 000024AE  41ED F26C                lea.l      A0, [A5 - 0xD94]
  3453. 000024B2  43EE FE88                lea.l      A1, [A6 - 0x178]
  3454. 000024B6  20D9                     move.l     [A0]+, [A1]+
  3455. 000024B8  20D9                     move.l     [A0]+, [A1]+
  3456. 000024BA  7A01                     moveq.l    D5, 0x01
  3457. 000024BC  6000 00A8                bra        +0xAA /* 00002566 */
  3458. label000024C0:
  3459. 000024C0  558F                     subq.l     A7, 2
  3460. 000024C2  3F05                     move.w     -[A7], D5
  3461. 000024C4  486E FE7C                pea.l      [A6 - 0x184]
  3462. 000024C8  203C 030C 000C           move.l     D0, 0x30C000C
  3463. 000024CE  A800                     syscall    SoundDispatch
  3464. 000024D0  4A5F                     tst.w      [A7]+
  3465. 000024D2  6600 0090                bne        +0x92 /* 00002564 */
  3466. 000024D6  558F                     subq.l     A7, 2
  3467. 000024D8  486E FE7C                pea.l      [A6 - 0x184]
  3468. 000024DC  486E FE84                pea.l      [A6 - 0x17C]
  3469. 000024E0  4878 016A                push.l     0x16A
  3470. 000024E4  203C 0610 000C           move.l     D0, 0x610000C
  3471. 000024EA  A800                     syscall    SoundDispatch
  3472. 000024EC  4A5F                     tst.w      [A7]+
  3473. 000024EE  6674                     bne        +0x76 /* 00002564 */
  3474. 000024F0  558F                     subq.l     A7, 2
  3475. 000024F2  2F0B                     move.l     -[A7], A3
  3476. 000024F4  A950                     syscall    CountMItems
  3477. 000024F6  3C1F                     move.w     D6, [A7]+
  3478. 000024F8  0C45 0001                cmpi.w     D5, 0x1
  3479. 000024FC  660E                     bne        +0x10 /* 0000250C */
  3480. 000024FE  4A46                     tst.w      D6
  3481. 00002500  6F0A                     ble        +0xC /* 0000250C */
  3482. 00002502  2F0B                     move.l     -[A7], A3
  3483. 00002504  7001                     moveq.l    D0, 0x01
  3484. 00002506  3F00                     move.w     -[A7], D0
  3485. 00002508  A952                     syscall    DeleteMenuItem/DelMenuItem
  3486. 0000250A  5346                     subq.w     D6, 1
  3487. label0000250C:
  3488. 0000250C  7E01                     moveq.l    D7, 0x01
  3489. 0000250E  601C                     bra        +0x1E /* 0000252C */
  3490. label00002510:
  3491. 00002510  2F0B                     move.l     -[A7], A3
  3492. 00002512  3F07                     move.w     -[A7], D7
  3493. 00002514  2F0C                     move.l     -[A7], A4
  3494. 00002516  A946                     syscall    GetMenuItemText/GetItem
  3495. 00002518  558F                     subq.l     A7, 2
  3496. 0000251A  2F0C                     move.l     -[A7], A4
  3497. 0000251C  486E FE94                pea.l      [A6 - 0x16C]
  3498. 00002520  4EAD 014A                jsr        [A5 + 0x14A /* export_37 */]
  3499. 00002524  7001                     moveq.l    D0, 0x01
  3500. 00002526  B05F                     cmp.w      D0, [A7]+
  3501. 00002528  6706                     beq        +0x8 /* 00002530 */
  3502. 0000252A  5247                     addq.w     D7, 1
  3503. label0000252C:
  3504. 0000252C  BC47                     cmp.w      D6, D7
  3505. 0000252E  6CE0                     bge        -0x1E /* 00002510 */
  3506. label00002530:
  3507. 00002530  2F0B                     move.l     -[A7], A3
  3508. 00002532  487A 0056                pea.l      [PC + 0x56 /* 0000258A, value 0x1200000 */]
  3509. 00002536  3007                     move.w     D0, D7
  3510. 00002538  5340                     subq.w     D0, 1
  3511. 0000253A  3F00                     move.w     -[A7], D0
  3512. 0000253C  A826                     syscall    InsertMenuItem/InsMenuItem
  3513. 0000253E  2F0B                     move.l     -[A7], A3
  3514. 00002540  3F07                     move.w     -[A7], D7
  3515. 00002542  486E FE94                pea.l      [A6 - 0x16C]
  3516. 00002546  A947                     syscall    SetMenuItemText/SetItem
  3517. 00002548  2F0B                     move.l     -[A7], A3
  3518. 0000254A  3F07                     move.w     -[A7], D7
  3519. 0000254C  41ED F26C                lea.l      A0, [A5 - 0xD94]
  3520. 00002550  43EE FE7C                lea.l      A1, [A6 - 0x184]
  3521. 00002554  7001                     moveq.l    D0, 0x01
  3522. label00002556:
  3523. 00002556  B189                     cmpm.l     [A0]+, [A1]+
  3524. 00002558  56C8 FFFC                dbne       D0, -0x6 /* 00002556 */
  3525. 0000255C  57C0                     seq        D0
  3526. 0000255E  4400                     neg.b      D0
  3527. 00002560  1F00                     move.b     -[A7], D0
  3528. 00002562  A945                     syscall    CheckItem
  3529. label00002564:
  3530. 00002564  5245                     addq.w     D5, 1
  3531. label00002566:
  3532. 00002566  BA6E FFFE                cmp.w      D5, [A6 - 0x2]
  3533. 0000256A  6F00 FF54                ble        -0xAA /* 000024C0 */
  3534. label0000256E:
  3535. 0000256E  1B7C 0001 F266           move.b     [A5 - 0xD9A], 0x1
  3536. label00002574:
  3537. 00002574  7000                     moveq.l    D0, 0x00
  3538. 00002576  6008                     bra        +0xA /* 00002580 */
  3539. label00002578:
  3540. 00002578  2F2A 0170                move.l     -[A7], [A2 + 0x170]
  3541. 0000257C  A9CD                     syscall    TEDispose
  3542. label0000257E:
  3543. 0000257E  3004                     move.w     D0, D4
  3544. label00002580:
  3545. 00002580  4CEE 1CF8 FD5C           movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x2A4]
  3546. 00002586  4E5E                     unlink     A6
  3547. 00002588  4E75                     rts
  3548. 0000258A  0120                     btst       -[A0], D0
  3549. 0000258C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  3550. export_53: // at 0000258E (misaligned)
  3551. 00002590  0000 48E7                ori.b      D0, 0xE7
  3552. 00002594  0018 47ED                ori.b      [A0]+, 0xED
  3553. 00002598  F226 286E                .invalid   fmove, !rm
  3554. 0000259C  0008 18BC                ori.b      A0, 0xBC
  3555. 000025A0  0001 197C                ori.b      D1, 0x7C /* '|' */
  3556. 000025A4  0001 0007                ori.b      D1, 0x7
  3557. 000025A8  197C 0001 0008           move.b     [A4 + 0x8], 0x1
  3558. 000025AE  41FA FAA8                lea.l      A0, [PC - 0x558 /* 00002058, value 0x4E56FD7C */]
  3559. 000025B2  2948 000E                move.l     [A4 + 0xE], A0
  3560. 000025B6  197C 0003 0002           move.b     [A4 + 0x2], 0x3
  3561. 000025BC  297C 0000 0178 000A      move.l     [A4 + 0xA], 0x178
  3562. 000025C4  486D F246                pea.l      [A5 - 0xDBA]
  3563. 000025C8  3F3C 0258                move.w     -[A7], 0x258
  3564. 000025CC  7007                     moveq.l    D0, 0x07
  3565. 000025CE  3F00                     move.w     -[A7], D0
  3566. 000025D0  4EAD 0142                jsr        [A5 + 0x142 /* export_36 */]
  3567. 000025D4  2F0B                     move.l     -[A7], A3
  3568. 000025D6  3F3C 0258                move.w     -[A7], 0x258
  3569. 000025DA  7008                     moveq.l    D0, 0x08
  3570. 000025DC  3F00                     move.w     -[A7], D0
  3571. 000025DE  4EAD 0142                jsr        [A5 + 0x142 /* export_36 */]
  3572. 000025E2  7000                     moveq.l    D0, 0x00
  3573. 000025E4  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  3574. 000025EA  4E5E                     unlink     A6
  3575. 000025EC  4E75                     rts
  3576. export_54:
  3577. 000025EE  4E56 0000                link       A6, 0
  3578. 000025F2  48E7 0038                movem.l    -[A7], A2,A3,A4
  3579. 000025F6  246E 000C                movea.l    A2, [A6 + 0xC]
  3580. 000025FA  266E 0008                movea.l    A3, [A6 + 0x8]
  3581. 000025FE  286E 0010                movea.l    A4, [A6 + 0x10]
  3582. 00002602  3014                     move.w     D0, [A4]
  3583. 00002604  48C0                     ext.l      D0
  3584. 00002606  E580                     asl        D0, 2
  3585. 00002608  27BC 5445 5854 0800      move.l     [A3 + D0], 0x54455854 /* 'TEXT' */
  3586. 00002610  3014                     move.w     D0, [A4]
  3587. 00002612  48C0                     ext.l      D0
  3588. 00002614  E580                     asl        D0, 2
  3589. 00002616  25BC 5445 5854 0800      move.l     [A2 + D0], 0x54455854 /* 'TEXT' */
  3590. 0000261E  5254                     addq.w     [A4], 1
  3591. 00002620  3014                     move.w     D0, [A4]
  3592. 00002622  48C0                     ext.l      D0
  3593. 00002624  E580                     asl        D0, 2
  3594. 00002626  27BC 7474 726F 0800      move.l     [A3 + D0], 0x7474726F /* 'ttro' */
  3595. 0000262E  3014                     move.w     D0, [A4]
  3596. 00002630  48C0                     ext.l      D0
  3597. 00002632  E580                     asl        D0, 2
  3598. 00002634  25BC 5445 5854 0800      move.l     [A2 + D0], 0x54455854 /* 'TEXT' */
  3599. 0000263C  5254                     addq.w     [A4], 1
  3600. 0000263E  3014                     move.w     D0, [A4]
  3601. 00002640  48C0                     ext.l      D0
  3602. 00002642  E580                     asl        D0, 2
  3603. 00002644  27BC 7345 5854 0800      move.l     [A3 + D0], 0x73455854 /* 'sEXT' */
  3604. 0000264C  3014                     move.w     D0, [A4]
  3605. 0000264E  48C0                     ext.l      D0
  3606. 00002650  E580                     asl        D0, 2
  3607. 00002652  25BC 5445 5854 0800      move.l     [A2 + D0], 0x54455854 /* 'TEXT' */
  3608. 0000265A  5254                     addq.w     [A4], 1
  3609. 0000265C  4CEE 1C00 FFF4           movem.l    A2,A3,A4, [A6 - 0xC]
  3610. 00002662  4E5E                     unlink     A6
  3611. 00002664  4E75                     rts
  3612. fn00002666:
  3613. 00002666  4E56 0000                link       A6, 0
  3614. 0000266A  2F0C                     move.l     -[A7], A4
  3615. 0000266C  286E 0008                movea.l    A4, [A6 + 0x8]
  3616. 00002670  2054                     movea.l    A0, [A4]
  3617. 00002672  3028 0022                move.w     D0, [A0 + 0x22]
  3618. 00002676  48C0                     ext.l      D0
  3619. 00002678  3228 0020                move.w     D1, [A0 + 0x20]
  3620. 0000267C  48C1                     ext.l      D1
  3621. 0000267E  9081                     sub.l      D0, D1
  3622. 00002680  286E FFFC                movea.l    A4, [A6 - 0x4]
  3623. 00002684  4E5E                     unlink     A6
  3624. 00002686  4E75                     rts
  3625. fn00002688:
  3626. 00002688  4E56 0000                link       A6, 0
  3627. 0000268C  2F0C                     move.l     -[A7], A4
  3628. 0000268E  286E 0008                movea.l    A4, [A6 + 0x8]
  3629. 00002692  2054                     movea.l    A0, [A4]
  3630. 00002694  2068 003E                movea.l    A0, [A0 + 0x3E]
  3631. 00002698  2254                     movea.l    A1, [A4]
  3632. 0000269A  3029 0020                move.w     D0, [A1 + 0x20]
  3633. 0000269E  48C0                     ext.l      D0
  3634. 000026A0  D090                     add.l      D0, [A0]
  3635. 000026A2  286E FFFC                movea.l    A4, [A6 - 0x4]
  3636. 000026A6  4E5E                     unlink     A6
  3637. 000026A8  4E75                     rts
  3638. fn000026AA:
  3639. 000026AA  4E56 0000                link       A6, 0
  3640. 000026AE  48E7 1308                movem.l    -[A7], D3,D6,D7,A4
  3641. 000026B2  3C2E 000A                move.w     D6, [A6 + 0xA]
  3642. 000026B6  286E 000C                movea.l    A4, [A6 + 0xC]
  3643. 000026BA  4247                     clr.w      D7
  3644. 000026BC  2054                     movea.l    A0, [A4]
  3645. 000026BE  4A68 003C                tst.w      [A0 + 0x3C]
  3646. 000026C2  6604                     bne        +0x6 /* 000026C8 */
  3647. 000026C4  7001                     moveq.l    D0, 0x01
  3648. 000026C6  604E                     bra        +0x50 /* 00002716 */
  3649. label000026C8:
  3650. 000026C8  2054                     movea.l    A0, [A4]
  3651. 000026CA  BC68 003C                cmp.w      D6, [A0 + 0x3C]
  3652. 000026CE  6D24                     blt        +0x26 /* 000026F4 */
  3653. 000026D0  3028 003C                move.w     D0, [A0 + 0x3C]
  3654. 000026D4  48C0                     ext.l      D0
  3655. 000026D6  5380                     subq.l     D0, 1
  3656. 000026D8  2054                     movea.l    A0, [A4]
  3657. 000026DA  2068 003E                movea.l    A0, [A0 + 0x3E]
  3658. 000026DE  2050                     movea.l    A0, [A0]
  3659. 000026E0  720D                     moveq.l    D1, 0x0D
  3660. 000026E2  B230 0800                cmp.b      D1, [A0 + D0]
  3661. 000026E6  57C3                     seq        D3
  3662. 000026E8  4403                     neg.b      D3
  3663. 000026EA  4883                     ext.w      D3
  3664. 000026EC  3003                     move.w     D0, D3
  3665. 000026EE  6026                     bra        +0x28 /* 00002716 */
  3666. label000026F0:
  3667. 000026F0  3007                     move.w     D0, D7
  3668. 000026F2  5247                     addq.w     D7, 1
  3669. label000026F4:
  3670. 000026F4  48C7                     ext.l      D7
  3671. 000026F6  2054                     movea.l    A0, [A4]
  3672. 000026F8  2007                     move.l     D0, D7
  3673. 000026FA  D080                     add.l      D0, D0
  3674. 000026FC  BC70 0860                cmp.w      D6, [A0 + D0 + 0x60]
  3675. 00002700  6EEE                     bgt        -0x10 /* 000026F0 */
  3676. 00002702  48C7                     ext.l      D7
  3677. 00002704  2054                     movea.l    A0, [A4]
  3678. 00002706  2007                     move.l     D0, D7
  3679. 00002708  D080                     add.l      D0, D0
  3680. 0000270A  BC70 0860                cmp.w      D6, [A0 + D0 + 0x60]
  3681. 0000270E  57C3                     seq        D3
  3682. 00002710  4403                     neg.b      D3
  3683. 00002712  4883                     ext.w      D3
  3684. 00002714  3003                     move.w     D0, D3
  3685. label00002716:
  3686. 00002716  4CEE 10C8 FFF0           movem.l    D3,D6,D7,A4, [A6 - 0x10]
  3687. 0000271C  4E5E                     unlink     A6
  3688. 0000271E  4E75                     rts
  3689. fn00002720:
  3690. 00002720  4E56 0000                link       A6, 0
  3691. 00002724  2F0C                     move.l     -[A7], A4
  3692. 00002726  342E 000A                move.w     D2, [A6 + 0xA]
  3693. 0000272A  286E 000C                movea.l    A4, [A6 + 0xC]
  3694. 0000272E  4241                     clr.w      D1
  3695. 00002730  2054                     movea.l    A0, [A4]
  3696. 00002732  B468 003C                cmp.w      D2, [A0 + 0x3C]
  3697. 00002736  6F08                     ble        +0xA /* 00002740 */
  3698. 00002738  3028 005E                move.w     D0, [A0 + 0x5E]
  3699. 0000273C  6012                     bra        +0x14 /* 00002750 */
  3700. label0000273E:
  3701. 0000273E  5241                     addq.w     D1, 1
  3702. label00002740:
  3703. 00002740  48C1                     ext.l      D1
  3704. 00002742  2054                     movea.l    A0, [A4]
  3705. 00002744  2001                     move.l     D0, D1
  3706. 00002746  D080                     add.l      D0, D0
  3707. 00002748  B470 0860                cmp.w      D2, [A0 + D0 + 0x60]
  3708. 0000274C  6EF0                     bgt        -0xE /* 0000273E */
  3709. 0000274E  3001                     move.w     D0, D1
  3710. label00002750:
  3711. 00002750  286E FFFC                movea.l    A4, [A6 - 0x4]
  3712. 00002754  4E5E                     unlink     A6
  3713. 00002756  4E75                     rts
  3714. fn00002758:
  3715. 00002758  4E56 FFFC                link       A6, -0x0004
  3716. 0000275C  48E7 0308                movem.l    -[A7], D6,D7,A4
  3717. 00002760  3C2E 000A                move.w     D6, [A6 + 0xA]
  3718. 00002764  286E 000C                movea.l    A4, [A6 + 0xC]
  3719. 00002768  598F                     subq.l     A7, 4
  3720. 0000276A  3F06                     move.w     -[A7], D6
  3721. 0000276C  2F0C                     move.l     -[A7], A4
  3722. 0000276E  3F3C 0008                move.w     -[A7], 0x8
  3723. 00002772  A83D                     syscall    TEDispatch
  3724. 00002774  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  3725. 00002778  2F0C                     move.l     -[A7], A4
  3726. 0000277A  48C6                     ext.l      D6
  3727. 0000277C  2F06                     move.l     -[A7], D6
  3728. 0000277E  4EBA FFA0                jsr        [PC - 0x60 /* 00002720 */]
  3729. 00002782  3E00                     move.w     D7, D0
  3730. 00002784  2054                     movea.l    A0, [A4]
  3731. 00002786  BC68 003C                cmp.w      D6, [A0 + 0x3C]
  3732. 0000278A  504F                     addq.w     A7, 8
  3733. 0000278C  6630                     bne        +0x32 /* 000027BE */
  3734. 0000278E  3028 003C                move.w     D0, [A0 + 0x3C]
  3735. 00002792  48C0                     ext.l      D0
  3736. 00002794  5380                     subq.l     D0, 1
  3737. 00002796  2054                     movea.l    A0, [A4]
  3738. 00002798  2068 003E                movea.l    A0, [A0 + 0x3E]
  3739. 0000279C  2050                     movea.l    A0, [A0]
  3740. 0000279E  720D                     moveq.l    D1, 0x0D
  3741. 000027A0  B230 0800                cmp.b      D1, [A0 + D0]
  3742. 000027A4  6618                     bne        +0x1A /* 000027BE */
  3743. 000027A6  598F                     subq.l     A7, 4
  3744. 000027A8  48C7                     ext.l      D7
  3745. 000027AA  2F07                     move.l     -[A7], D7
  3746. 000027AC  48C7                     ext.l      D7
  3747. 000027AE  2F07                     move.l     -[A7], D7
  3748. 000027B0  2F0C                     move.l     -[A7], A4
  3749. 000027B2  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  3750. 000027B6  A83D                     syscall    TEDispatch
  3751. 000027B8  201F                     move.l     D0, [A7]+
  3752. 000027BA  D16E FFFC                add.w      [A6 - 0x4], D0
  3753. label000027BE:
  3754. 000027BE  700A                     moveq.l    D0, 0x0A
  3755. 000027C0  3F00                     move.w     -[A7], D0
  3756. 000027C2  A89C                     syscall    PenMode
  3757. 000027C4  598F                     subq.l     A7, 4
  3758. 000027C6  48C7                     ext.l      D7
  3759. 000027C8  2F07                     move.l     -[A7], D7
  3760. 000027CA  48C7                     ext.l      D7
  3761. 000027CC  2F07                     move.l     -[A7], D7
  3762. 000027CE  2F0C                     move.l     -[A7], A4
  3763. 000027D0  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  3764. 000027D4  A83D                     syscall    TEDispatch
  3765. 000027D6  201F                     move.l     D0, [A7]+
  3766. 000027D8  3C00                     move.w     D6, D0
  3767. 000027DA  302E FFFE                move.w     D0, [A6 - 0x2]
  3768. 000027DE  5340                     subq.w     D0, 1
  3769. 000027E0  3F00                     move.w     -[A7], D0
  3770. 000027E2  302E FFFC                move.w     D0, [A6 - 0x4]
  3771. 000027E6  5340                     subq.w     D0, 1
  3772. 000027E8  3F00                     move.w     -[A7], D0
  3773. 000027EA  A893                     syscall    MoveTo
  3774. 000027EC  7000                     moveq.l    D0, 0x00
  3775. 000027EE  3F00                     move.w     -[A7], D0
  3776. 000027F0  7201                     moveq.l    D1, 0x01
  3777. 000027F2  9246                     sub.w      D1, D6
  3778. 000027F4  3F01                     move.w     -[A7], D1
  3779. 000027F6  A892                     syscall    Line
  3780. 000027F8  A89E                     syscall    PenNormal
  3781. 000027FA  4CEE 10C0 FFF0           movem.l    D6,D7,A4, [A6 - 0x10]
  3782. 00002800  4E5E                     unlink     A6
  3783. 00002802  4E75                     rts
  3784. fn00002804:
  3785. 00002804  4E56 FFF8                link       A6, -0x0008
  3786. 00002808  48E7 0108                movem.l    -[A7], D7,A4
  3787. 0000280C  286E 000C                movea.l    A4, [A6 + 0xC]
  3788. 00002810  7EFF                     moveq.l    D7, 0xFFFFFFFF
  3789. 00002812  558F                     subq.l     A7, 2
  3790. 00002814  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3791. 00002818  486E FFFC                pea.l      [A6 - 0x4]
  3792. 0000281C  A92C                     syscall    FindWindow
  3793. 0000281E  7003                     moveq.l    D0, 0x03
  3794. 00002820  B05F                     cmp.w      D0, [A7]+
  3795. 00002822  6600 0088                bne        +0x8A /* 000028AC */
  3796. 00002826  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  3797. 0000282A  A873                     syscall    SetPort
  3798. 0000282C  486E 0008                pea.l      [A6 + 0x8]
  3799. 00002830  A871                     syscall    GlobalToLocal
  3800. 00002832  558F                     subq.l     A7, 2
  3801. 00002834  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3802. 00002838  2054                     movea.l    A0, [A4]
  3803. 0000283A  4868 0008                pea.l      [A0 + 0x8]
  3804. 0000283E  A8AD                     syscall    PtInRect
  3805. 00002840  4A1F                     tst.b      [A7]+
  3806. 00002842  6768                     beq        +0x6A /* 000028AC */
  3807. 00002844  558F                     subq.l     A7, 2
  3808. 00002846  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3809. 0000284A  2054                     movea.l    A0, [A4]
  3810. 0000284C  4868 0008                pea.l      [A0 + 0x8]
  3811. 00002850  A8AD                     syscall    PtInRect
  3812. 00002852  4A1F                     tst.b      [A7]+
  3813. 00002854  6756                     beq        +0x58 /* 000028AC */
  3814. 00002856  558F                     subq.l     A7, 2
  3815. 00002858  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  3816. 0000285C  2F0C                     move.l     -[A7], A4
  3817. 0000285E  A83C                     syscall    TEGetOffset
  3818. 00002860  3E1F                     move.w     D7, [A7]+
  3819. 00002862  2F0C                     move.l     -[A7], A4
  3820. 00002864  48C7                     ext.l      D7
  3821. 00002866  2F07                     move.l     -[A7], D7
  3822. 00002868  4EBA FE40                jsr        [PC - 0x1C0 /* 000026AA */]
  3823. 0000286C  4A40                     tst.w      D0
  3824. 0000286E  504F                     addq.w     A7, 8
  3825. 00002870  673A                     beq        +0x3C /* 000028AC */
  3826. 00002872  4A47                     tst.w      D7
  3827. 00002874  6736                     beq        +0x38 /* 000028AC */
  3828. 00002876  48C7                     ext.l      D7
  3829. 00002878  2007                     move.l     D0, D7
  3830. 0000287A  5380                     subq.l     D0, 1
  3831. 0000287C  2054                     movea.l    A0, [A4]
  3832. 0000287E  2068 003E                movea.l    A0, [A0 + 0x3E]
  3833. 00002882  2050                     movea.l    A0, [A0]
  3834. 00002884  720D                     moveq.l    D1, 0x0D
  3835. 00002886  B230 0800                cmp.b      D1, [A0 + D0]
  3836. 0000288A  6720                     beq        +0x22 /* 000028AC */
  3837. 0000288C  598F                     subq.l     A7, 4
  3838. 0000288E  3007                     move.w     D0, D7
  3839. 00002890  5340                     subq.w     D0, 1
  3840. 00002892  3F00                     move.w     -[A7], D0
  3841. 00002894  2F0C                     move.l     -[A7], A4
  3842. 00002896  3F3C 0008                move.w     -[A7], 0x8
  3843. 0000289A  A83D                     syscall    TEDispatch
  3844. 0000289C  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  3845. 000028A0  302E FFFA                move.w     D0, [A6 - 0x6]
  3846. 000028A4  B06E 000A                cmp.w      D0, [A6 + 0xA]
  3847. 000028A8  6C02                     bge        +0x4 /* 000028AC */
  3848. 000028AA  5347                     subq.w     D7, 1
  3849. label000028AC:
  3850. 000028AC  3007                     move.w     D0, D7
  3851. 000028AE  4CEE 1080 FFF0           movem.l    D7,A4, [A6 - 0x10]
  3852. 000028B4  4E5E                     unlink     A6
  3853. 000028B6  4E75                     rts
  3854. fn000028B8:
  3855. 000028B8  4E56 0000                link       A6, 0
  3856. 000028BC  302E 000A                move.w     D0, [A6 + 0xA]
  3857. 000028C0  6C04                     bge        +0x6 /* 000028C6 */
  3858. 000028C2  700D                     moveq.l    D0, 0x0D
  3859. 000028C4  6010                     bra        +0x12 /* 000028D6 */
  3860. label000028C6:
  3861. 000028C6  206E 000C                movea.l    A0, [A6 + 0xC]
  3862. 000028CA  2050                     movea.l    A0, [A0]
  3863. 000028CC  2068 003E                movea.l    A0, [A0 + 0x3E]
  3864. 000028D0  2050                     movea.l    A0, [A0]
  3865. 000028D2  1030 0000                move.b     D0, [A0 + D0.w]
  3866. label000028D6:
  3867. 000028D6  4E5E                     unlink     A6
  3868. 000028D8  4E75                     rts
  3869. fn000028DA:
  3870. 000028DA  4E56 0000                link       A6, 0
  3871. 000028DE  48E7 1100                movem.l    -[A7], D3,D7
  3872. 000028E2  1E2E 000B                move.b     D7, [A6 + 0xB]
  3873. 000028E6  7601                     moveq.l    D3, 0x01
  3874. 000028E8  0C07 0020                cmpi.b     D7, 0x20 /* ' ' */
  3875. 000028EC  6708                     beq        +0xA /* 000028F6 */
  3876. 000028EE  0C07 000D                cmpi.b     D7, 0xD /* '\r' */
  3877. 000028F2  6702                     beq        +0x4 /* 000028F6 */
  3878. 000028F4  7600                     moveq.l    D3, 0x00
  3879. label000028F6:
  3880. 000028F6  1003                     move.b     D0, D3
  3881. 000028F8  4CEE 0088 FFF8           movem.l    D3,D7, [A6 - 0x8]
  3882. 000028FE  4E5E                     unlink     A6
  3883. 00002900  4E75                     rts
  3884. fn00002902:
  3885. 00002902  4E56 0000                link       A6, 0
  3886. 00002906  48E7 0308                movem.l    -[A7], D6,D7,A4
  3887. 0000290A  286E 000C                movea.l    A4, [A6 + 0xC]
  3888. 0000290E  3E2E 000A                move.w     D7, [A6 + 0xA]
  3889. 00002912  6D10                     blt        +0x12 /* 00002924 */
  3890. 00002914  48C7                     ext.l      D7
  3891. 00002916  2054                     movea.l    A0, [A4]
  3892. 00002918  3028 003C                move.w     D0, [A0 + 0x3C]
  3893. 0000291C  48C0                     ext.l      D0
  3894. 0000291E  5380                     subq.l     D0, 1
  3895. 00002920  B087                     cmp.l      D0, D7
  3896. 00002922  6C04                     bge        +0x6 /* 00002928 */
  3897. label00002924:
  3898. 00002924  7001                     moveq.l    D0, 0x01
  3899. 00002926  6018                     bra        +0x1A /* 00002940 */
  3900. label00002928:
  3901. 00002928  2054                     movea.l    A0, [A4]
  3902. 0000292A  2068 003E                movea.l    A0, [A0 + 0x3E]
  3903. 0000292E  2050                     movea.l    A0, [A0]
  3904. 00002930  1C30 7000                move.b     D6, [A0 + D7.w]
  3905. 00002934  4886                     ext.w      D6
  3906. 00002936  48C6                     ext.l      D6
  3907. 00002938  2F06                     move.l     -[A7], D6
  3908. 0000293A  4EBA FF9E                jsr        [PC - 0x62 /* 000028DA */]
  3909. 0000293E  584F                     addq.w     A7, 4
  3910. label00002940:
  3911. 00002940  4CEE 10C0 FFF4           movem.l    D6,D7,A4, [A6 - 0xC]
  3912. 00002946  4E5E                     unlink     A6
  3913. 00002948  4E75                     rts
  3914. fn0000294A:
  3915. 0000294A  4E56 0000                link       A6, 0
  3916. 0000294E  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  3917. 00002952  2A2E 0010                move.l     D5, [A6 + 0x10]
  3918. 00002956  266E 000C                movea.l    A3, [A6 + 0xC]
  3919. 0000295A  286E 0018                movea.l    A4, [A6 + 0x18]
  3920. 0000295E  3E2E 000A                move.w     D7, [A6 + 0xA]
  3921. 00002962  4246                     clr.w      D6
  3922. 00002964  4A85                     tst.l      D5
  3923. 00002966  6606                     bne        +0x8 /* 0000296E */
  3924. 00002968  3006                     move.w     D0, D6
  3925. 0000296A  6000 00C0                bra        +0xC2 /* 00002A2C */
  3926. label0000296E:
  3927. 0000296E  2F0C                     move.l     -[A7], A4
  3928. 00002970  48C7                     ext.l      D7
  3929. 00002972  2007                     move.l     D0, D7
  3930. 00002974  5380                     subq.l     D0, 1
  3931. 00002976  2F00                     move.l     -[A7], D0
  3932. 00002978  4EBA FF88                jsr        [PC - 0x78 /* 00002902 */]
  3933. 0000297C  4A00                     tst.b      D0
  3934. 0000297E  504F                     addq.w     A7, 8
  3935. 00002980  663A                     bne        +0x3C /* 000029BC */
  3936. 00002982  2F0C                     move.l     -[A7], A4
  3937. 00002984  48C7                     ext.l      D7
  3938. 00002986  2F07                     move.l     -[A7], D7
  3939. 00002988  4EBA FF78                jsr        [PC - 0x88 /* 00002902 */]
  3940. 0000298C  4A00                     tst.b      D0
  3941. 0000298E  504F                     addq.w     A7, 8
  3942. 00002990  672A                     beq        +0x2C /* 000029BC */
  3943. 00002992  1013                     move.b     D0, [A3]
  3944. 00002994  4880                     ext.w      D0
  3945. 00002996  48C0                     ext.l      D0
  3946. 00002998  2F00                     move.l     -[A7], D0
  3947. 0000299A  4EBA FF3E                jsr        [PC - 0xC2 /* 000028DA */]
  3948. 0000299E  4A00                     tst.b      D0
  3949. 000029A0  584F                     addq.w     A7, 4
  3950. 000029A2  6618                     bne        +0x1A /* 000029BC */
  3951. 000029A4  48C7                     ext.l      D7
  3952. 000029A6  2F07                     move.l     -[A7], D7
  3953. 000029A8  48C7                     ext.l      D7
  3954. 000029AA  2F07                     move.l     -[A7], D7
  3955. 000029AC  2F0C                     move.l     -[A7], A4
  3956. 000029AE  A9D1                     syscall    TESetSelect
  3957. 000029B0  7020                     moveq.l    D0, 0x20
  3958. 000029B2  3F00                     move.w     -[A7], D0
  3959. 000029B4  2F0C                     move.l     -[A7], A4
  3960. 000029B6  A9DC                     syscall    TEKey
  3961. 000029B8  5247                     addq.w     D7, 1
  3962. 000029BA  5246                     addq.w     D6, 1
  3963. label000029BC:
  3964. 000029BC  2F0C                     move.l     -[A7], A4
  3965. 000029BE  48C7                     ext.l      D7
  3966. 000029C0  2007                     move.l     D0, D7
  3967. 000029C2  5380                     subq.l     D0, 1
  3968. 000029C4  2F00                     move.l     -[A7], D0
  3969. 000029C6  4EBA FF3A                jsr        [PC - 0xC6 /* 00002902 */]
  3970. 000029CA  4A00                     tst.b      D0
  3971. 000029CC  504F                     addq.w     A7, 8
  3972. 000029CE  673E                     beq        +0x40 /* 00002A0E */
  3973. 000029D0  2F0C                     move.l     -[A7], A4
  3974. 000029D2  48C7                     ext.l      D7
  3975. 000029D4  2F07                     move.l     -[A7], D7
  3976. 000029D6  4EBA FF2A                jsr        [PC - 0xD6 /* 00002902 */]
  3977. 000029DA  4A00                     tst.b      D0
  3978. 000029DC  504F                     addq.w     A7, 8
  3979. 000029DE  662E                     bne        +0x30 /* 00002A0E */
  3980. 000029E0  2005                     move.l     D0, D5
  3981. 000029E2  5380                     subq.l     D0, 1
  3982. 000029E4  1033 0800                move.b     D0, [A3 + D0]
  3983. 000029E8  4880                     ext.w      D0
  3984. 000029EA  48C0                     ext.l      D0
  3985. 000029EC  2F00                     move.l     -[A7], D0
  3986. 000029EE  4EBA FEEA                jsr        [PC - 0x116 /* 000028DA */]
  3987. 000029F2  4A00                     tst.b      D0
  3988. 000029F4  584F                     addq.w     A7, 4
  3989. 000029F6  6616                     bne        +0x18 /* 00002A0E */
  3990. 000029F8  48C7                     ext.l      D7
  3991. 000029FA  2F07                     move.l     -[A7], D7
  3992. 000029FC  48C7                     ext.l      D7
  3993. 000029FE  2F07                     move.l     -[A7], D7
  3994. 00002A00  2F0C                     move.l     -[A7], A4
  3995. 00002A02  A9D1                     syscall    TESetSelect
  3996. 00002A04  7020                     moveq.l    D0, 0x20
  3997. 00002A06  3F00                     move.w     -[A7], D0
  3998. 00002A08  2F0C                     move.l     -[A7], A4
  3999. 00002A0A  A9DC                     syscall    TEKey
  4000. 00002A0C  5246                     addq.w     D6, 1
  4001. label00002A0E:
  4002. 00002A0E  48C7                     ext.l      D7
  4003. 00002A10  2F07                     move.l     -[A7], D7
  4004. 00002A12  48C7                     ext.l      D7
  4005. 00002A14  2F07                     move.l     -[A7], D7
  4006. 00002A16  2F0C                     move.l     -[A7], A4
  4007. 00002A18  A9D1                     syscall    TESetSelect
  4008. 00002A1A  2F0B                     move.l     -[A7], A3
  4009. 00002A1C  2F05                     move.l     -[A7], D5
  4010. 00002A1E  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  4011. 00002A22  2F0C                     move.l     -[A7], A4
  4012. 00002A24  3F3C 0007                move.w     -[A7], 0x7
  4013. 00002A28  A83D                     syscall    TEDispatch
  4014. 00002A2A  3006                     move.w     D0, D6
  4015. label00002A2C:
  4016. 00002A2C  4CEE 18E0 FFEC           movem.l    D5,D6,D7,A3,A4, [A6 - 0x14]
  4017. 00002A32  4E5E                     unlink     A6
  4018. 00002A34  4E75                     rts
  4019. 00002A36  4E56 FFEE                link       A6, -0x0012
  4020. 00002A3A  48E7 1718                movem.l    -[A7], D3,D5,D6,D7,A3,A4
  4021. 00002A3E  2C2E 0010                move.l     D6, [A6 + 0x10]
  4022. 00002A42  286E 000C                movea.l    A4, [A6 + 0xC]
  4023. 00002A46  598F                     subq.l     A7, 4
  4024. 00002A48  A975                     syscall    TickCount
  4025. 00002A4A  2A1F                     move.l     D5, [A7]+
  4026. 00002A4C  264C                     movea.l    A3, A4
  4027. 00002A4E  558F                     subq.l     A7, 2
  4028. 00002A50  2F06                     move.l     -[A7], D6
  4029. 00002A52  486E FFF0                pea.l      [A6 - 0x10]
  4030. 00002A56  7019                     moveq.l    D0, 0x19
  4031. 00002A58  ABED                     syscall    DragDispatch
  4032. 00002A5A  302E 0016                move.w     D0, [A6 + 0x16]
  4033. 00002A5E  5540                     subq.w     D0, 2
  4034. 00002A60  544F                     addq.w     A7, 2
  4035. 00002A62  670E                     beq        +0x10 /* 00002A72 */
  4036. 00002A64  5340                     subq.w     D0, 1
  4037. 00002A66  6740                     beq        +0x42 /* 00002AA8 */
  4038. 00002A68  5340                     subq.w     D0, 1
  4039. 00002A6A  6700 0248                beq        +0x24A /* 00002CB4 */
  4040. 00002A6E  6000 027C                bra        +0x27E /* 00002CEC */
  4041. label00002A72:
  4042. 00002A72  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  4043. 00002A78  2F06                     move.l     -[A7], D6
  4044. 00002A7A  4EAD 0192                jsr        [A5 + 0x192 /* export_46 */]
  4045. 00002A7E  1B40 F108                move.b     [A5 - 0xEF8], D0
  4046. 00002A82  2B45 F282                move.l     [A5 - 0xD7E], D5
  4047. 00002A86  3B7C FFFF F27E           move.w     [A5 - 0xD82], 0xFFFF
  4048. 00002A8C  3B7C FFFF F280           move.w     [A5 - 0xD80], 0xFFFF
  4049. 00002A92  1B7C 0001 F288           move.b     [A5 - 0xD78], 0x1
  4050. 00002A98  422D F286                clr.b      [A5 - 0xD7A]
  4051. 00002A9C  7000                     moveq.l    D0, 0x00
  4052. 00002A9E  2B40 F278                move.l     [A5 - 0xD88], D0
  4053. 00002AA2  504F                     addq.w     A7, 8
  4054. 00002AA4  6000 0246                bra        +0x248 /* 00002CEC */
  4055. label00002AA8:
  4056. 00002AA8  4A2D F108                tst.b      [A5 - 0xEF8]
  4057. 00002AAC  6700 015E                beq        +0x160 /* 00002C0C */
  4058. 00002AB0  558F                     subq.l     A7, 2
  4059. 00002AB2  2F06                     move.l     -[A7], D6
  4060. 00002AB4  486E FFFC                pea.l      [A6 - 0x4]
  4061. 00002AB8  7000                     moveq.l    D0, 0x00
  4062. 00002ABA  2F00                     move.l     -[A7], D0
  4063. 00002ABC  701A                     moveq.l    D0, 0x1A
  4064. 00002ABE  ABED                     syscall    DragDispatch
  4065. 00002AC0  2D6E FFFC FFF8           move.l     [A6 - 0x8], [A6 - 0x4]
  4066. 00002AC6  486E FFF8                pea.l      [A6 - 0x8]
  4067. 00002ACA  A871                     syscall    GlobalToLocal
  4068. 00002ACC  7004                     moveq.l    D0, 0x04
  4069. 00002ACE  C0AE FFF0                and.l      D0, [A6 - 0x10]
  4070. 00002AD2  544F                     addq.w     A7, 2
  4071. 00002AD4  6700 00D4                beq        +0xD6 /* 00002BAA */
  4072. 00002AD8  426E FFEE                clr.w      [A6 - 0x12]
  4073. 00002ADC  7010                     moveq.l    D0, 0x10
  4074. 00002ADE  B06E FFF8                cmp.w      D0, [A6 - 0x8]
  4075. 00002AE2  6F0C                     ble        +0xE /* 00002AF0 */
  4076. 00002AE4  4A6E FFF8                tst.w      [A6 - 0x8]
  4077. 00002AE8  6F06                     ble        +0x8 /* 00002AF0 */
  4078. 00002AEA  3D6B 0160 FFEE           move.w     [A6 - 0x12], [A3 + 0x160]
  4079. label00002AF0:
  4080. 00002AF0  206E 0008                movea.l    A0, [A6 + 0x8]
  4081. 00002AF4  3028 0014                move.w     D0, [A0 + 0x14]
  4082. 00002AF8  48C0                     ext.l      D0
  4083. 00002AFA  7210                     moveq.l    D1, 0x10
  4084. 00002AFC  9081                     sub.l      D0, D1
  4085. 00002AFE  342E FFF8                move.w     D2, [A6 - 0x8]
  4086. 00002B02  48C2                     ext.l      D2
  4087. 00002B04  B082                     cmp.l      D0, D2
  4088. 00002B06  6C0C                     bge        +0xE /* 00002B14 */
  4089. 00002B08  302B 0160                move.w     D0, [A3 + 0x160]
  4090. 00002B0C  48C0                     ext.l      D0
  4091. 00002B0E  4480                     neg.l      D0
  4092. 00002B10  3D40 FFEE                move.w     [A6 - 0x12], D0
  4093. label00002B14:
  4094. 00002B14  4A6E FFEE                tst.w      [A6 - 0x12]
  4095. 00002B18  660A                     bne        +0xC /* 00002B24 */
  4096. 00002B1A  7000                     moveq.l    D0, 0x00
  4097. 00002B1C  2B40 F278                move.l     [A5 - 0xD88], D0
  4098. 00002B20  6000 0088                bra        +0x8A /* 00002BAA */
  4099. label00002B24:
  4100. 00002B24  4AAD F278                tst.l      [A5 - 0xD88]
  4101. 00002B28  6606                     bne        +0x8 /* 00002B30 */
  4102. 00002B2A  2B45 F278                move.l     [A5 - 0xD88], D5
  4103. 00002B2E  607A                     bra        +0x7C /* 00002BAA */
  4104. label00002B30:
  4105. 00002B30  2005                     move.l     D0, D5
  4106. 00002B32  90AD F278                sub.l      D0, [A5 - 0xD88]
  4107. 00002B36  720A                     moveq.l    D1, 0x0A
  4108. 00002B38  B280                     cmp.l      D1, D0
  4109. 00002B3A  646E                     bcc        +0x70 /* 00002BAA */
  4110. 00002B3C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4111. 00002B3E  B06D F280                cmp.w      D0, [A5 - 0xD80]
  4112. 00002B42  6718                     beq        +0x1A /* 00002B5C */
  4113. 00002B44  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  4114. 00002B48  302D F280                move.w     D0, [A5 - 0xD80]
  4115. 00002B4C  48C0                     ext.l      D0
  4116. 00002B4E  2F00                     move.l     -[A7], D0
  4117. 00002B50  4EBA FC06                jsr        [PC - 0x3FA /* 00002758 */]
  4118. 00002B54  3B7C FFFF F280           move.w     [A5 - 0xD80], 0xFFFF
  4119. 00002B5A  504F                     addq.w     A7, 8
  4120. label00002B5C:
  4121. 00002B5C  486E FFEE                pea.l      [A6 - 0x12]
  4122. 00002B60  2F2B 015A                move.l     -[A7], [A3 + 0x15A]
  4123. 00002B64  4EAD 0082                jsr        [A5 + 0x82 /* export_12 */]
  4124. 00002B68  4A6E FFEE                tst.w      [A6 - 0x12]
  4125. 00002B6C  504F                     addq.w     A7, 8
  4126. 00002B6E  6732                     beq        +0x34 /* 00002BA2 */
  4127. 00002B70  558F                     subq.l     A7, 2
  4128. 00002B72  2F06                     move.l     -[A7], D6
  4129. 00002B74  7000                     moveq.l    D0, 0x00
  4130. 00002B76  3F00                     move.w     -[A7], D0
  4131. 00002B78  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  4132. 00002B7C  7020                     moveq.l    D0, 0x20
  4133. 00002B7E  ABED                     syscall    DragDispatch
  4134. 00002B80  302E FFEE                move.w     D0, [A6 - 0x12]
  4135. 00002B84  48C0                     ext.l      D0
  4136. 00002B86  2F00                     move.l     -[A7], D0
  4137. 00002B88  7000                     moveq.l    D0, 0x00
  4138. 00002B8A  2F00                     move.l     -[A7], D0
  4139. 00002B8C  2F0B                     move.l     -[A7], A3
  4140. 00002B8E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4141. 00002B92  4EAD 007A                jsr        [A5 + 0x7A /* export_11 */]
  4142. 00002B96  558F                     subq.l     A7, 2
  4143. 00002B98  2F06                     move.l     -[A7], D6
  4144. 00002B9A  7021                     moveq.l    D0, 0x21
  4145. 00002B9C  ABED                     syscall    DragDispatch
  4146. 00002B9E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4147. label00002BA2:
  4148. 00002BA2  2005                     move.l     D0, D5
  4149. 00002BA4  5F80                     subq.l     D0, 7
  4150. 00002BA6  2B40 F278                move.l     [A5 - 0xD88], D0
  4151. label00002BAA:
  4152. 00002BAA  202E FFF0                move.l     D0, [A6 - 0x10]
  4153. 00002BAE  0800 0000                btst.b     D0, 0x0
  4154. 00002BB2  6758                     beq        +0x5A /* 00002C0C */
  4155. 00002BB4  558F                     subq.l     A7, 2
  4156. 00002BB6  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  4157. 00002BBA  486B 014E                pea.l      [A3 + 0x14E]
  4158. 00002BBE  A8AD                     syscall    PtInRect
  4159. 00002BC0  4A1F                     tst.b      [A7]+
  4160. 00002BC2  6734                     beq        +0x36 /* 00002BF8 */
  4161. 00002BC4  4A2D F286                tst.b      [A5 - 0xD7A]
  4162. 00002BC8  6626                     bne        +0x28 /* 00002BF0 */
  4163. 00002BCA  598F                     subq.l     A7, 4
  4164. 00002BCC  A8D8                     syscall    NewRgn
  4165. 00002BCE  2D57 FFF4                move.l     [A6 - 0xC], [A7]
  4166. 00002BD2  486B 014E                pea.l      [A3 + 0x14E]
  4167. 00002BD6  A8DF                     syscall    RectRgn
  4168. 00002BD8  558F                     subq.l     A7, 2
  4169. 00002BDA  2F06                     move.l     -[A7], D6
  4170. 00002BDC  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  4171. 00002BE0  7001                     moveq.l    D0, 0x01
  4172. 00002BE2  1F00                     move.b     -[A7], D0
  4173. 00002BE4  701E                     moveq.l    D0, 0x1E
  4174. 00002BE6  ABED                     syscall    DragDispatch
  4175. 00002BE8  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  4176. 00002BEC  A8D9                     syscall    DisposRgn/DisposeRgn
  4177. 00002BEE  544F                     addq.w     A7, 2
  4178. label00002BF0:
  4179. 00002BF0  1B7C 0001 F286           move.b     [A5 - 0xD7A], 0x1
  4180. 00002BF6  6014                     bra        +0x16 /* 00002C0C */
  4181. label00002BF8:
  4182. 00002BF8  4A2D F286                tst.b      [A5 - 0xD7A]
  4183. 00002BFC  670E                     beq        +0x10 /* 00002C0C */
  4184. 00002BFE  558F                     subq.l     A7, 2
  4185. 00002C00  2F06                     move.l     -[A7], D6
  4186. 00002C02  701F                     moveq.l    D0, 0x1F
  4187. 00002C04  ABED                     syscall    DragDispatch
  4188. 00002C06  422D F286                clr.b      [A5 - 0xD7A]
  4189. 00002C0A  544F                     addq.w     A7, 2
  4190. label00002C0C:
  4191. 00002C0C  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  4192. 00002C10  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  4193. 00002C14  4EBA FBEE                jsr        [PC - 0x412 /* 00002804 */]
  4194. 00002C18  3E00                     move.w     D7, D0
  4195. 00002C1A  7004                     moveq.l    D0, 0x04
  4196. 00002C1C  C0AE FFF0                and.l      D0, [A6 - 0x10]
  4197. 00002C20  504F                     addq.w     A7, 8
  4198. 00002C22  671A                     beq        +0x1C /* 00002C3E */
  4199. 00002C24  206C 0170                movea.l    A0, [A4 + 0x170]
  4200. 00002C28  2050                     movea.l    A0, [A0]
  4201. 00002C2A  BE68 0020                cmp.w      D7, [A0 + 0x20]
  4202. 00002C2E  6D0E                     blt        +0x10 /* 00002C3E */
  4203. 00002C30  206C 0170                movea.l    A0, [A4 + 0x170]
  4204. 00002C34  2050                     movea.l    A0, [A0]
  4205. 00002C36  BE68 0022                cmp.w      D7, [A0 + 0x22]
  4206. 00002C3A  6E02                     bgt        +0x4 /* 00002C3E */
  4207. 00002C3C  7EFF                     moveq.l    D7, 0xFFFFFFFF
  4208. label00002C3E:
  4209. 00002C3E  3B47 F27C                move.w     [A5 - 0xD84], D7
  4210. 00002C42  BE6D F27E                cmp.w      D7, [A5 - 0xD82]
  4211. 00002C46  670A                     beq        +0xC /* 00002C52 */
  4212. 00002C48  2B45 F282                move.l     [A5 - 0xD7E], D5
  4213. 00002C4C  1B7C 0001 F288           move.b     [A5 - 0xD78], 0x1
  4214. label00002C52:
  4215. 00002C52  3B47 F27E                move.w     [A5 - 0xD82], D7
  4216. 00002C56  2005                     move.l     D0, D5
  4217. 00002C58  90AD F282                sub.l      D0, [A5 - 0xD7E]
  4218. 00002C5C  B0B8 02F4                cmp.l      D0, [0x000002F4 /* CaretTime */]
  4219. 00002C60  6310                     bls        +0x12 /* 00002C72 */
  4220. 00002C62  4A2D F288                tst.b      [A5 - 0xD78]
  4221. 00002C66  57C3                     seq        D3
  4222. 00002C68  4403                     neg.b      D3
  4223. 00002C6A  1B43 F288                move.b     [A5 - 0xD78], D3
  4224. 00002C6E  2B45 F282                move.l     [A5 - 0xD7E], D5
  4225. label00002C72:
  4226. 00002C72  4A2D F288                tst.b      [A5 - 0xD78]
  4227. 00002C76  6602                     bne        +0x4 /* 00002C7A */
  4228. 00002C78  7EFF                     moveq.l    D7, 0xFFFFFFFF
  4229. label00002C7A:
  4230. 00002C7A  BE6D F280                cmp.w      D7, [A5 - 0xD80]
  4231. 00002C7E  672E                     beq        +0x30 /* 00002CAE */
  4232. 00002C80  70FF                     moveq.l    D0, 0xFFFFFFFF
  4233. 00002C82  B06D F280                cmp.w      D0, [A5 - 0xD80]
  4234. 00002C86  6712                     beq        +0x14 /* 00002C9A */
  4235. 00002C88  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  4236. 00002C8C  302D F280                move.w     D0, [A5 - 0xD80]
  4237. 00002C90  48C0                     ext.l      D0
  4238. 00002C92  2F00                     move.l     -[A7], D0
  4239. 00002C94  4EBA FAC2                jsr        [PC - 0x53E /* 00002758 */]
  4240. 00002C98  504F                     addq.w     A7, 8
  4241. label00002C9A:
  4242. 00002C9A  0C47 FFFF                cmpi.w     D7, 0xFFFF
  4243. 00002C9E  670E                     beq        +0x10 /* 00002CAE */
  4244. 00002CA0  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  4245. 00002CA4  48C7                     ext.l      D7
  4246. 00002CA6  2F07                     move.l     -[A7], D7
  4247. 00002CA8  4EBA FAAE                jsr        [PC - 0x552 /* 00002758 */]
  4248. 00002CAC  504F                     addq.w     A7, 8
  4249. label00002CAE:
  4250. 00002CAE  3B47 F280                move.w     [A5 - 0xD80], D7
  4251. 00002CB2  6038                     bra        +0x3A /* 00002CEC */
  4252. label00002CB4:
  4253. 00002CB4  70FF                     moveq.l    D0, 0xFFFFFFFF
  4254. 00002CB6  B06D F280                cmp.w      D0, [A5 - 0xD80]
  4255. 00002CBA  6718                     beq        +0x1A /* 00002CD4 */
  4256. 00002CBC  2F2C 0170                move.l     -[A7], [A4 + 0x170]
  4257. 00002CC0  302D F280                move.w     D0, [A5 - 0xD80]
  4258. 00002CC4  48C0                     ext.l      D0
  4259. 00002CC6  2F00                     move.l     -[A7], D0
  4260. 00002CC8  4EBA FA8E                jsr        [PC - 0x572 /* 00002758 */]
  4261. 00002CCC  3B7C FFFF F280           move.w     [A5 - 0xD80], 0xFFFF
  4262. 00002CD2  504F                     addq.w     A7, 8
  4263. label00002CD4:
  4264. 00002CD4  4A2D F286                tst.b      [A5 - 0xD7A]
  4265. 00002CD8  6712                     beq        +0x14 /* 00002CEC */
  4266. 00002CDA  7001                     moveq.l    D0, 0x01
  4267. 00002CDC  C0AE FFF0                and.l      D0, [A6 - 0x10]
  4268. 00002CE0  670A                     beq        +0xC /* 00002CEC */
  4269. 00002CE2  558F                     subq.l     A7, 2
  4270. 00002CE4  2F06                     move.l     -[A7], D6
  4271. 00002CE6  701F                     moveq.l    D0, 0x1F
  4272. 00002CE8  ABED                     syscall    DragDispatch
  4273. 00002CEA  544F                     addq.w     A7, 2
  4274. label00002CEC:
  4275. 00002CEC  7000                     moveq.l    D0, 0x00
  4276. 00002CEE  4CEE 18E8 FFD6           movem.l    D3,D5,D6,D7,A3,A4, [A6 - 0x2A]
  4277. 00002CF4  4E5E                     unlink     A6
  4278. 00002CF6  4E75                     rts
  4279. 00002CF8  4E56 FFD0                link       A6, -0x0030
  4280. 00002CFC  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  4281. 00002D00  2C2E 0010                move.l     D6, [A6 + 0x10]
  4282. 00002D04  4A2D F108                tst.b      [A5 - 0xEF8]
  4283. 00002D08  6708                     beq        +0xA /* 00002D12 */
  4284. 00002D0A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4285. 00002D0C  B06D F27C                cmp.w      D0, [A5 - 0xD84]
  4286. 00002D10  6608                     bne        +0xA /* 00002D1A */
  4287. label00002D12:
  4288. 00002D12  303C F8BF                move.w     D0, 0xF8BF
  4289. 00002D16  6000 02DA                bra        +0x2DC /* 00002FF2 */
  4290. label00002D1A:
  4291. 00002D1A  206E 000C                movea.l    A0, [A6 + 0xC]
  4292. 00002D1E  2868 0170                movea.l    A4, [A0 + 0x170]
  4293. 00002D22  302D F27C                move.w     D0, [A5 - 0xD84]
  4294. 00002D26  48C0                     ext.l      D0
  4295. 00002D28  2D40 FFF6                move.l     [A6 - 0xA], D0
  4296. 00002D2C  7000                     moveq.l    D0, 0x00
  4297. 00002D2E  2D40 FFEC                move.l     [A6 - 0x14], D0
  4298. 00002D32  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4299. 00002D36  A873                     syscall    SetPort
  4300. 00002D38  2054                     movea.l    A0, [A4]
  4301. 00002D3A  4A68 0024                tst.w      [A0 + 0x24]
  4302. 00002D3E  56C3                     sne        D3
  4303. 00002D40  4403                     neg.b      D3
  4304. 00002D42  1D43 FFFF                move.b     [A6 - 0x1], D3
  4305. 00002D46  6604                     bne        +0x6 /* 00002D4C */
  4306. 00002D48  2F0C                     move.l     -[A7], A4
  4307. 00002D4A  A9D8                     syscall    TEActivate
  4308. label00002D4C:
  4309. 00002D4C  558F                     subq.l     A7, 2
  4310. 00002D4E  2F06                     move.l     -[A7], D6
  4311. 00002D50  486E FFD8                pea.l      [A6 - 0x28]
  4312. 00002D54  7019                     moveq.l    D0, 0x19
  4313. 00002D56  ABED                     syscall    DragDispatch
  4314. 00002D58  558F                     subq.l     A7, 2
  4315. 00002D5A  2F06                     move.l     -[A7], D6
  4316. 00002D5C  7000                     moveq.l    D0, 0x00
  4317. 00002D5E  2F00                     move.l     -[A7], D0
  4318. 00002D60  486E FFF0                pea.l      [A6 - 0x10]
  4319. 00002D64  486E FFF2                pea.l      [A6 - 0xE]
  4320. 00002D68  701D                     moveq.l    D0, 0x1D
  4321. 00002D6A  ABED                     syscall    DragDispatch
  4322. 00002D6C  7600                     moveq.l    D3, 0x00
  4323. 00002D6E  7004                     moveq.l    D0, 0x04
  4324. 00002D70  C0AE FFD8                and.l      D0, [A6 - 0x28]
  4325. 00002D74  584F                     addq.w     A7, 4
  4326. 00002D76  6716                     beq        +0x18 /* 00002D8E */
  4327. 00002D78  303C 0800                move.w     D0, 0x800
  4328. 00002D7C  C06E FFF0                and.w      D0, [A6 - 0x10]
  4329. 00002D80  323C 0800                move.w     D1, 0x800
  4330. 00002D84  C26E FFF2                and.w      D1, [A6 - 0xE]
  4331. 00002D88  8240                     or.w       D1, D0
  4332. 00002D8A  6602                     bne        +0x4 /* 00002D8E */
  4333. 00002D8C  7601                     moveq.l    D3, 0x01
  4334. label00002D8E:
  4335. 00002D8E  4883                     ext.w      D3
  4336. 00002D90  3D43 FFF4                move.w     [A6 - 0xC], D3
  4337. 00002D94  558F                     subq.l     A7, 2
  4338. 00002D96  2F06                     move.l     -[A7], D6
  4339. 00002D98  486E FFD6                pea.l      [A6 - 0x2A]
  4340. 00002D9C  700E                     moveq.l    D0, 0x0E
  4341. 00002D9E  ABED                     syscall    DragDispatch
  4342. 00002DA0  7801                     moveq.l    D4, 0x01
  4343. 00002DA2  544F                     addq.w     A7, 2
  4344. 00002DA4  6000 01FC                bra        +0x1FE /* 00002FA2 */
  4345. label00002DA8:
  4346. 00002DA8  558F                     subq.l     A7, 2
  4347. 00002DAA  2F06                     move.l     -[A7], D6
  4348. 00002DAC  3F04                     move.w     -[A7], D4
  4349. 00002DAE  486E FFDC                pea.l      [A6 - 0x24]
  4350. 00002DB2  700F                     moveq.l    D0, 0x0F
  4351. 00002DB4  ABED                     syscall    DragDispatch
  4352. 00002DB6  558F                     subq.l     A7, 2
  4353. 00002DB8  2F06                     move.l     -[A7], D6
  4354. 00002DBA  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  4355. 00002DBE  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  4356. 00002DC4  486E FFE4                pea.l      [A6 - 0x1C]
  4357. 00002DC8  7013                     moveq.l    D0, 0x13
  4358. 00002DCA  ABED                     syscall    DragDispatch
  4359. 00002DCC  3D5F FFD4                move.w     [A6 - 0x2C], [A7]+
  4360. 00002DD0  544F                     addq.w     A7, 2
  4361. 00002DD2  6600 01CA                bne        +0x1CC /* 00002F9E */
  4362. 00002DD6  2054                     movea.l    A0, [A4]
  4363. 00002DD8  3028 003C                move.w     D0, [A0 + 0x3C]
  4364. 00002DDC  48C0                     ext.l      D0
  4365. 00002DDE  222E FFE4                move.l     D1, [A6 - 0x1C]
  4366. 00002DE2  D280                     add.l      D1, D0
  4367. 00002DE4  0C81 0000 7C00           cmpi.l     D1, 0x7C00 /* '|\0' */
  4368. 00002DEA  6F08                     ble        +0xA /* 00002DF4 */
  4369. 00002DEC  303C 00C8                move.w     D0, 0xC8
  4370. 00002DF0  6000 0200                bra        +0x202 /* 00002FF2 */
  4371. label00002DF4:
  4372. 00002DF4  202E FFE4                move.l     D0, [A6 - 0x1C]
  4373. 00002DF8  A11E                     syscall    NewPtr, flags=1
  4374. 00002DFA  2D48 FFE0                move.l     [A6 - 0x20], A0
  4375. 00002DFE  6606                     bne        +0x8 /* 00002E06 */
  4376. 00002E00  7094                     moveq.l    D0, 0xFFFFFF94
  4377. 00002E02  6000 01EE                bra        +0x1F0 /* 00002FF2 */
  4378. label00002E06:
  4379. 00002E06  558F                     subq.l     A7, 2
  4380. 00002E08  2F06                     move.l     -[A7], D6
  4381. 00002E0A  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  4382. 00002E0E  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  4383. 00002E14  2F2E FFE0                move.l     -[A7], [A6 - 0x20]
  4384. 00002E18  486E FFE4                pea.l      [A6 - 0x1C]
  4385. 00002E1C  7000                     moveq.l    D0, 0x00
  4386. 00002E1E  2F00                     move.l     -[A7], D0
  4387. 00002E20  7014                     moveq.l    D0, 0x14
  4388. 00002E22  ABED                     syscall    DragDispatch
  4389. 00002E24  7000                     moveq.l    D0, 0x00
  4390. 00002E26  2640                     movea.l    A3, D0
  4391. 00002E28  558F                     subq.l     A7, 2
  4392. 00002E2A  2F06                     move.l     -[A7], D6
  4393. 00002E2C  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  4394. 00002E30  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  4395. 00002E36  486E FFE8                pea.l      [A6 - 0x18]
  4396. 00002E3A  7013                     moveq.l    D0, 0x13
  4397. 00002E3C  ABED                     syscall    DragDispatch
  4398. 00002E3E  3D5F FFD4                move.w     [A6 - 0x2C], [A7]+
  4399. 00002E42  544F                     addq.w     A7, 2
  4400. 00002E44  6644                     bne        +0x46 /* 00002E8A */
  4401. 00002E46  4AAE FFE8                tst.l      [A6 - 0x18]
  4402. 00002E4A  673E                     beq        +0x40 /* 00002E8A */
  4403. 00002E4C  202E FFE8                move.l     D0, [A6 - 0x18]
  4404. 00002E50  A122                     syscall    NewHandle, flags=1
  4405. 00002E52  2648                     movea.l    A3, A0
  4406. 00002E54  200B                     move.l     D0, A3
  4407. 00002E56  660C                     bne        +0xE /* 00002E64 */
  4408. 00002E58  206E FFE0                movea.l    A0, [A6 - 0x20]
  4409. 00002E5C  A01F                     syscall    DisposPtr/DisposePtr
  4410. 00002E5E  7094                     moveq.l    D0, 0xFFFFFF94
  4411. 00002E60  6000 0190                bra        +0x192 /* 00002FF2 */
  4412. label00002E64:
  4413. 00002E64  204B                     movea.l    A0, A3
  4414. 00002E66  A029                     syscall    HLock
  4415. 00002E68  558F                     subq.l     A7, 2
  4416. 00002E6A  2F06                     move.l     -[A7], D6
  4417. 00002E6C  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  4418. 00002E70  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  4419. 00002E76  2F13                     move.l     -[A7], [A3]
  4420. 00002E78  486E FFE8                pea.l      [A6 - 0x18]
  4421. 00002E7C  7000                     moveq.l    D0, 0x00
  4422. 00002E7E  2F00                     move.l     -[A7], D0
  4423. 00002E80  7014                     moveq.l    D0, 0x14
  4424. 00002E82  ABED                     syscall    DragDispatch
  4425. 00002E84  204B                     movea.l    A0, A3
  4426. 00002E86  A02A                     syscall    HUnlock
  4427. 00002E88  544F                     addq.w     A7, 2
  4428. label00002E8A:
  4429. 00002E8A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4430. 00002E8C  B06D F280                cmp.w      D0, [A5 - 0xD80]
  4431. 00002E90  6716                     beq        +0x18 /* 00002EA8 */
  4432. 00002E92  2F0C                     move.l     -[A7], A4
  4433. 00002E94  302D F280                move.w     D0, [A5 - 0xD80]
  4434. 00002E98  48C0                     ext.l      D0
  4435. 00002E9A  2F00                     move.l     -[A7], D0
  4436. 00002E9C  4EBA F8BA                jsr        [PC - 0x746 /* 00002758 */]
  4437. 00002EA0  3B7C FFFF F280           move.w     [A5 - 0xD80], 0xFFFF
  4438. 00002EA6  504F                     addq.w     A7, 8
  4439. label00002EA8:
  4440. 00002EA8  202E FFD8                move.l     D0, [A6 - 0x28]
  4441. 00002EAC  0800 0000                btst.b     D0, 0x0
  4442. 00002EB0  670A                     beq        +0xC /* 00002EBC */
  4443. 00002EB2  558F                     subq.l     A7, 2
  4444. 00002EB4  2F06                     move.l     -[A7], D6
  4445. 00002EB6  701F                     moveq.l    D0, 0x1F
  4446. 00002EB8  ABED                     syscall    DragDispatch
  4447. 00002EBA  544F                     addq.w     A7, 2
  4448. label00002EBC:
  4449. 00002EBC  4A6E FFF4                tst.w      [A6 - 0xC]
  4450. 00002EC0  6700 0090                beq        +0x92 /* 00002F52 */
  4451. 00002EC4  2054                     movea.l    A0, [A4]
  4452. 00002EC6  3A28 0020                move.w     D5, [A0 + 0x20]
  4453. 00002ECA  3E28 0022                move.w     D7, [A0 + 0x22]
  4454. 00002ECE  2F0C                     move.l     -[A7], A4
  4455. 00002ED0  48C5                     ext.l      D5
  4456. 00002ED2  2005                     move.l     D0, D5
  4457. 00002ED4  5380                     subq.l     D0, 1
  4458. 00002ED6  2F00                     move.l     -[A7], D0
  4459. 00002ED8  4EBA FA28                jsr        [PC - 0x5D8 /* 00002902 */]
  4460. 00002EDC  4A00                     tst.b      D0
  4461. 00002EDE  504F                     addq.w     A7, 8
  4462. 00002EE0  674C                     beq        +0x4E /* 00002F2E */
  4463. 00002EE2  2F0C                     move.l     -[A7], A4
  4464. 00002EE4  48C5                     ext.l      D5
  4465. 00002EE6  2F05                     move.l     -[A7], D5
  4466. 00002EE8  4EBA FA18                jsr        [PC - 0x5E8 /* 00002902 */]
  4467. 00002EEC  4A00                     tst.b      D0
  4468. 00002EEE  504F                     addq.w     A7, 8
  4469. 00002EF0  663C                     bne        +0x3E /* 00002F2E */
  4470. 00002EF2  2F0C                     move.l     -[A7], A4
  4471. 00002EF4  48C7                     ext.l      D7
  4472. 00002EF6  2007                     move.l     D0, D7
  4473. 00002EF8  5380                     subq.l     D0, 1
  4474. 00002EFA  2F00                     move.l     -[A7], D0
  4475. 00002EFC  4EBA FA04                jsr        [PC - 0x5FC /* 00002902 */]
  4476. 00002F00  4A00                     tst.b      D0
  4477. 00002F02  504F                     addq.w     A7, 8
  4478. 00002F04  6628                     bne        +0x2A /* 00002F2E */
  4479. 00002F06  2F0C                     move.l     -[A7], A4
  4480. 00002F08  48C7                     ext.l      D7
  4481. 00002F0A  2F07                     move.l     -[A7], D7
  4482. 00002F0C  4EBA F9F4                jsr        [PC - 0x60C /* 00002902 */]
  4483. 00002F10  4A00                     tst.b      D0
  4484. 00002F12  504F                     addq.w     A7, 8
  4485. 00002F14  6718                     beq        +0x1A /* 00002F2E */
  4486. 00002F16  2F0C                     move.l     -[A7], A4
  4487. 00002F18  48C7                     ext.l      D7
  4488. 00002F1A  2F07                     move.l     -[A7], D7
  4489. 00002F1C  4EBA F99A                jsr        [PC - 0x666 /* 000028B8 */]
  4490. 00002F20  0C00 0020                cmpi.b     D0, 0x20 /* ' ' */
  4491. 00002F24  504F                     addq.w     A7, 8
  4492. 00002F26  6606                     bne        +0x8 /* 00002F2E */
  4493. 00002F28  2054                     movea.l    A0, [A4]
  4494. 00002F2A  5268 0022                addq.w     [A0 + 0x22], 1
  4495. label00002F2E:
  4496. 00002F2E  BA6D F27C                cmp.w      D5, [A5 - 0xD84]
  4497. 00002F32  6C1A                     bge        +0x1C /* 00002F4E */
  4498. 00002F34  2054                     movea.l    A0, [A4]
  4499. 00002F36  3E28 0022                move.w     D7, [A0 + 0x22]
  4500. 00002F3A  3007                     move.w     D0, D7
  4501. 00002F3C  9045                     sub.w      D0, D5
  4502. 00002F3E  916D F27C                sub.w      [A5 - 0xD84], D0
  4503. 00002F42  48C7                     ext.l      D7
  4504. 00002F44  48C5                     ext.l      D5
  4505. 00002F46  2007                     move.l     D0, D7
  4506. 00002F48  9085                     sub.l      D0, D5
  4507. 00002F4A  91AE FFF6                sub.l      [A6 - 0xA], D0
  4508. label00002F4E:
  4509. 00002F4E  2F0C                     move.l     -[A7], A4
  4510. 00002F50  A9D7                     syscall    TEDelete
  4511. label00002F52:
  4512. 00002F52  2F0C                     move.l     -[A7], A4
  4513. 00002F54  2F0B                     move.l     -[A7], A3
  4514. 00002F56  2F2E FFE4                move.l     -[A7], [A6 - 0x1C]
  4515. 00002F5A  2F2E FFE0                move.l     -[A7], [A6 - 0x20]
  4516. 00002F5E  302D F27C                move.w     D0, [A5 - 0xD84]
  4517. 00002F62  48C0                     ext.l      D0
  4518. 00002F64  2F00                     move.l     -[A7], D0
  4519. 00002F66  4EBA F9E2                jsr        [PC - 0x61E /* 0000294A */]
  4520. 00002F6A  48C0                     ext.l      D0
  4521. 00002F6C  2D40 FFFA                move.l     [A6 - 0x6], D0
  4522. 00002F70  2D40 FFD0                move.l     [A6 - 0x30], D0
  4523. 00002F74  302E FFD2                move.w     D0, [A6 - 0x2E]
  4524. 00002F78  D06E FFE6                add.w      D0, [A6 - 0x1A]
  4525. 00002F7C  D16D F27C                add.w      [A5 - 0xD84], D0
  4526. 00002F80  202E FFD0                move.l     D0, [A6 - 0x30]
  4527. 00002F84  D0AE FFE4                add.l      D0, [A6 - 0x1C]
  4528. 00002F88  D1AE FFEC                add.l      [A6 - 0x14], D0
  4529. 00002F8C  206E FFE0                movea.l    A0, [A6 - 0x20]
  4530. 00002F90  A01F                     syscall    DisposPtr/DisposePtr
  4531. 00002F92  200B                     move.l     D0, A3
  4532. 00002F94  4FEF 0014                lea.l      A7, [A7 + 0x14]
  4533. 00002F98  6704                     beq        +0x6 /* 00002F9E */
  4534. 00002F9A  204B                     movea.l    A0, A3
  4535. 00002F9C  A023                     syscall    DisposHandle/DisposeHandle
  4536. label00002F9E:
  4537. 00002F9E  3004                     move.w     D0, D4
  4538. 00002FA0  5244                     addq.w     D4, 1
  4539. label00002FA2:
  4540. 00002FA2  B86E FFD6                cmp.w      D4, [A6 - 0x2A]
  4541. 00002FA6  6300 FE00                bls        -0x1FE /* 00002DA8 */
  4542. 00002FAA  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  4543. 00002FAE  202E FFEC                move.l     D0, [A6 - 0x14]
  4544. 00002FB2  D0AE FFF6                add.l      D0, [A6 - 0xA]
  4545. 00002FB6  2F00                     move.l     -[A7], D0
  4546. 00002FB8  2F0C                     move.l     -[A7], A4
  4547. 00002FBA  A9D1                     syscall    TESetSelect
  4548. 00002FBC  7000                     moveq.l    D0, 0x00
  4549. 00002FBE  2F00                     move.l     -[A7], D0
  4550. 00002FC0  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  4551. 00002FC4  4EBA D0A2                jsr        [PC - 0x2F5E /* 00000068 */]
  4552. 00002FC8  7000                     moveq.l    D0, 0x00
  4553. 00002FCA  2F00                     move.l     -[A7], D0
  4554. 00002FCC  2F00                     move.l     -[A7], D0
  4555. 00002FCE  2F00                     move.l     -[A7], D0
  4556. 00002FD0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4557. 00002FD4  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  4558. 00002FD8  206E 000C                movea.l    A0, [A6 + 0xC]
  4559. 00002FDC  117C 0001 00F3           move.b     [A0 + 0xF3], 0x1
  4560. 00002FE2  4A2E FFFF                tst.b      [A6 - 0x1]
  4561. 00002FE6  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4562. 00002FEA  6604                     bne        +0x6 /* 00002FF0 */
  4563. 00002FEC  2F0C                     move.l     -[A7], A4
  4564. 00002FEE  A9D9                     syscall    TEDeactivate
  4565. label00002FF0:
  4566. 00002FF0  7000                     moveq.l    D0, 0x00
  4567. label00002FF2:
  4568. 00002FF2  4CEE 18F8 FFB4           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x4C]
  4569. 00002FF8  4E5E                     unlink     A6
  4570. 00002FFA  4E75                     rts
  4571. fn00002FFC:
  4572. 00002FFC  4E56 FFE8                link       A6, -0x0018
  4573. 00003000  48E7 0118                movem.l    -[A7], D7,A3,A4
  4574. 00003004  42AE FFE8                clr.l      [A6 - 0x18]
  4575. 00003008  7000                     moveq.l    D0, 0x00
  4576. 0000300A  2640                     movea.l    A3, D0
  4577. 0000300C  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  4578. 00003010  598F                     subq.l     A7, 4
  4579. 00003012  A8D8                     syscall    NewRgn
  4580. 00003014  2857                     movea.l    A4, [A7]
  4581. 00003016  A8DC                     syscall    CopyRgn
  4582. 00003018  486E FFE8                pea.l      [A6 - 0x18]
  4583. 0000301C  A870                     syscall    LocalToGlobal
  4584. 0000301E  2F0C                     move.l     -[A7], A4
  4585. 00003020  2F2E FFE8                move.l     -[A7], [A6 - 0x18]
  4586. 00003024  A8E0                     syscall    OffsetRgn/OfsetRgn
  4587. 00003026  558F                     subq.l     A7, 2
  4588. 00003028  206E 0010                movea.l    A0, [A6 + 0x10]
  4589. 0000302C  2F28 000A                move.l     -[A7], [A0 + 0xA]
  4590. 00003030  7023                     moveq.l    D0, 0x23
  4591. 00003032  ABED                     syscall    DragDispatch
  4592. 00003034  4A1F                     tst.b      [A7]+
  4593. 00003036  6606                     bne        +0x8 /* 0000303E */
  4594. 00003038  7000                     moveq.l    D0, 0x00
  4595. 0000303A  6000 0196                bra        +0x198 /* 000031D2 */
  4596. label0000303E:
  4597. 0000303E  558F                     subq.l     A7, 2
  4598. 00003040  486E FFEC                pea.l      [A6 - 0x14]
  4599. 00003044  7005                     moveq.l    D0, 0x05
  4600. 00003046  ABED                     syscall    DragDispatch
  4601. 00003048  558F                     subq.l     A7, 2
  4602. 0000304A  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4603. 0000304E  7001                     moveq.l    D0, 0x01
  4604. 00003050  2F00                     move.l     -[A7], D0
  4605. 00003052  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  4606. 00003058  206E 000C                movea.l    A0, [A6 + 0xC]
  4607. 0000305C  2F28 0170                move.l     -[A7], [A0 + 0x170]
  4608. 00003060  4EBA F626                jsr        [PC - 0x9DA /* 00002688 */]
  4609. 00003064  588F                     addq.l     A7, 4
  4610. 00003066  2F00                     move.l     -[A7], D0
  4611. 00003068  206E 000C                movea.l    A0, [A6 + 0xC]
  4612. 0000306C  2F28 0170                move.l     -[A7], [A0 + 0x170]
  4613. 00003070  4EBA F5F4                jsr        [PC - 0xA0C /* 00002666 */]
  4614. 00003074  48C0                     ext.l      D0
  4615. 00003076  588F                     addq.l     A7, 4
  4616. 00003078  2F00                     move.l     -[A7], D0
  4617. 0000307A  7000                     moveq.l    D0, 0x00
  4618. 0000307C  2F00                     move.l     -[A7], D0
  4619. 0000307E  7007                     moveq.l    D0, 0x07
  4620. 00003080  ABED                     syscall    DragDispatch
  4621. 00003082  598F                     subq.l     A7, 4
  4622. 00003084  206E 000C                movea.l    A0, [A6 + 0xC]
  4623. 00003088  2F28 0170                move.l     -[A7], [A0 + 0x170]
  4624. 0000308C  3F3C 0006                move.w     -[A7], 0x6
  4625. 00003090  A83D                     syscall    TEDispatch
  4626. 00003092  265F                     movea.l    A3, [A7]+
  4627. 00003094  200B                     move.l     D0, A3
  4628. 00003096  584F                     addq.w     A7, 4
  4629. 00003098  672C                     beq        +0x2E /* 000030C6 */
  4630. 0000309A  204B                     movea.l    A0, A3
  4631. 0000309C  A029                     syscall    HLock
  4632. 0000309E  558F                     subq.l     A7, 2
  4633. 000030A0  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4634. 000030A4  7001                     moveq.l    D0, 0x01
  4635. 000030A6  2F00                     move.l     -[A7], D0
  4636. 000030A8  2F3C 7374 796C           move.l     -[A7], 0x7374796C /* 'styl' */
  4637. 000030AE  2F13                     move.l     -[A7], [A3]
  4638. 000030B0  598F                     subq.l     A7, 4
  4639. 000030B2  2F0B                     move.l     -[A7], A3
  4640. 000030B4  4EAD 00EA                jsr        [A5 + 0xEA /* export_25 */]
  4641. 000030B8  7000                     moveq.l    D0, 0x00
  4642. 000030BA  2F00                     move.l     -[A7], D0
  4643. 000030BC  7007                     moveq.l    D0, 0x07
  4644. 000030BE  ABED                     syscall    DragDispatch
  4645. 000030C0  204B                     movea.l    A0, A3
  4646. 000030C2  A023                     syscall    DisposHandle/DisposeHandle
  4647. 000030C4  544F                     addq.w     A7, 2
  4648. label000030C6:
  4649. 000030C6  558F                     subq.l     A7, 2
  4650. 000030C8  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4651. 000030CC  7001                     moveq.l    D0, 0x01
  4652. 000030CE  2F00                     move.l     -[A7], D0
  4653. 000030D0  2054                     movea.l    A0, [A4]
  4654. 000030D2  4868 0002                pea.l      [A0 + 0x2]
  4655. 000030D6  7016                     moveq.l    D0, 0x16
  4656. 000030D8  ABED                     syscall    DragDispatch
  4657. 000030DA  598F                     subq.l     A7, 4
  4658. 000030DC  A8D8                     syscall    NewRgn
  4659. 000030DE  265F                     movea.l    A3, [A7]+
  4660. 000030E0  2F0C                     move.l     -[A7], A4
  4661. 000030E2  2F0B                     move.l     -[A7], A3
  4662. 000030E4  A8DC                     syscall    CopyRgn
  4663. 000030E6  2F0B                     move.l     -[A7], A3
  4664. 000030E8  7001                     moveq.l    D0, 0x01
  4665. 000030EA  3F00                     move.w     -[A7], D0
  4666. 000030EC  3F00                     move.w     -[A7], D0
  4667. 000030EE  A8E1                     syscall    InsetRgn
  4668. 000030F0  2F0C                     move.l     -[A7], A4
  4669. 000030F2  2F0B                     move.l     -[A7], A3
  4670. 000030F4  2F0C                     move.l     -[A7], A4
  4671. 000030F6  A8E6                     syscall    DiffRgn
  4672. 000030F8  2F0B                     move.l     -[A7], A3
  4673. 000030FA  A8D9                     syscall    DisposRgn/DisposeRgn
  4674. 000030FC  558F                     subq.l     A7, 2
  4675. 000030FE  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4676. 00003102  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  4677. 00003106  2F0C                     move.l     -[A7], A4
  4678. 00003108  700D                     moveq.l    D0, 0x0D
  4679. 0000310A  ABED                     syscall    DragDispatch
  4680. 0000310C  3E1F                     move.w     D7, [A7]+
  4681. 0000310E  544F                     addq.w     A7, 2
  4682. 00003110  670C                     beq        +0xE /* 0000311E */
  4683. 00003112  0C47 FF80                cmpi.w     D7, 0xFF80
  4684. 00003116  6706                     beq        +0x8 /* 0000311E */
  4685. 00003118  7001                     moveq.l    D0, 0x01
  4686. 0000311A  6000 00B6                bra        +0xB8 /* 000031D2 */
  4687. label0000311E:
  4688. 0000311E  558F                     subq.l     A7, 2
  4689. 00003120  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4690. 00003124  486E FFF8                pea.l      [A6 - 0x8]
  4691. 00003128  7019                     moveq.l    D0, 0x19
  4692. 0000312A  ABED                     syscall    DragDispatch
  4693. 0000312C  7002                     moveq.l    D0, 0x02
  4694. 0000312E  C0AE FFF8                and.l      D0, [A6 - 0x8]
  4695. 00003132  544F                     addq.w     A7, 2
  4696. 00003134  6600 008A                bne        +0x8C /* 000031C0 */
  4697. 00003138  558F                     subq.l     A7, 2
  4698. 0000313A  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4699. 0000313E  486E FFF0                pea.l      [A6 - 0x10]
  4700. 00003142  7017                     moveq.l    D0, 0x17
  4701. 00003144  ABED                     syscall    DragDispatch
  4702. 00003146  558F                     subq.l     A7, 2
  4703. 00003148  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4704. 0000314C  7000                     moveq.l    D0, 0x00
  4705. 0000314E  2F00                     move.l     -[A7], D0
  4706. 00003150  486E FFFC                pea.l      [A6 - 0x4]
  4707. 00003154  486E FFFE                pea.l      [A6 - 0x2]
  4708. 00003158  701D                     moveq.l    D0, 0x1D
  4709. 0000315A  ABED                     syscall    DragDispatch
  4710. 0000315C  302E FFFE                move.w     D0, [A6 - 0x2]
  4711. 00003160  806E FFFC                or.w       D0, [A6 - 0x4]
  4712. 00003164  3E3C 0800                move.w     D7, 0x800
  4713. 00003168  CE40                     and.w      D7, D0
  4714. 0000316A  4A47                     tst.w      D7
  4715. 0000316C  584F                     addq.w     A7, 4
  4716. 0000316E  6642                     bne        +0x44 /* 000031B2 */
  4717. 00003170  486E FFF0                pea.l      [A6 - 0x10]
  4718. 00003174  4EAD 019A                jsr        [A5 + 0x19A /* export_47 */]
  4719. 00003178  4A00                     tst.b      D0
  4720. 0000317A  584F                     addq.w     A7, 4
  4721. 0000317C  6734                     beq        +0x36 /* 000031B2 */
  4722. 0000317E  206E 000C                movea.l    A0, [A6 + 0xC]
  4723. 00003182  2F28 0170                move.l     -[A7], [A0 + 0x170]
  4724. 00003186  A9D7                     syscall    TEDelete
  4725. 00003188  7000                     moveq.l    D0, 0x00
  4726. 0000318A  2F00                     move.l     -[A7], D0
  4727. 0000318C  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  4728. 00003190  4EBA CED6                jsr        [PC - 0x312A /* 00000068 */]
  4729. 00003194  7000                     moveq.l    D0, 0x00
  4730. 00003196  2F00                     move.l     -[A7], D0
  4731. 00003198  2F00                     move.l     -[A7], D0
  4732. 0000319A  2F00                     move.l     -[A7], D0
  4733. 0000319C  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4734. 000031A0  4EAD 0042                jsr        [A5 + 0x42 /* export_4 */]
  4735. 000031A4  206E 000C                movea.l    A0, [A6 + 0xC]
  4736. 000031A8  117C 0001 00F3           move.b     [A0 + 0xF3], 0x1
  4737. 000031AE  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4738. label000031B2:
  4739. 000031B2  558F                     subq.l     A7, 2
  4740. 000031B4  486E FFF0                pea.l      [A6 - 0x10]
  4741. 000031B8  303C 0204                move.w     D0, 0x204
  4742. 000031BC  A816                     syscall    Pack8
  4743. 000031BE  544F                     addq.w     A7, 2
  4744. label000031C0:
  4745. 000031C0  558F                     subq.l     A7, 2
  4746. 000031C2  2F2E FFEC                move.l     -[A7], [A6 - 0x14]
  4747. 000031C6  7006                     moveq.l    D0, 0x06
  4748. 000031C8  ABED                     syscall    DragDispatch
  4749. 000031CA  2F0C                     move.l     -[A7], A4
  4750. 000031CC  A8D9                     syscall    DisposRgn/DisposeRgn
  4751. 000031CE  7001                     moveq.l    D0, 0x01
  4752. 000031D0  544F                     addq.w     A7, 2
  4753. label000031D2:
  4754. 000031D2  4CEE 1880 FFDC           movem.l    D7,A3,A4, [A6 - 0x24]
  4755. 000031D8  4E5E                     unlink     A6
  4756. 000031DA  4E75                     rts
  4757.